[Python-ideas] Syntactic sugar to declare partial functions

MRAB python at mrabarnett.plus.com
Mon Aug 13 22:26:07 EDT 2018


On 2018-08-14 02:46, Michael Selik wrote:
> 
> 
> On Mon, Aug 13, 2018, 5:48 PM Greg Ewing <greg.ewing at canterbury.ac.nz 
> <mailto:greg.ewing at canterbury.ac.nz>> wrote:
> 
>     Chris Angelico wrote:
>      > No, lambda calculus isn't on par with brakes - but anonymous
>     functions
>      > are, and if they're called "lambda", you just learn that.
> 
>     It's like saying that people would find it easier to learn to
>     drive if "brakes" were called "stoppers" or something. I don't
>     think that's true.
> 
> 
> There isn't much jargon involved in learning to drive and most of it is 
> natural: left turn, right turn, blinkers, etc.
> 
> Compare this with learning to sail. I still don't remember which side is 
> starboard.
> 
<OT>
"Starboard" is the side on which was the "steerboard", the large "board" 
or oar used for steering the boat, a predecessor of the rudder. Most 
people are right-handed, so it was put on the right-hand side of the boat.

Given that, it made sense to tie the boat up to a jetty on its 
unobstructed left-hand side, the "port" side.

Starboard = right, port = left.
</OT>


More information about the Python-ideas mailing list