Re:Stop writing lambda expressions in Python
by nikofeyn on Thursday September 27, 2018 @04:35PM
(#18088355)
> Your examples don't seem that great, to be frank.
they weren't intended to be great or mind blowing. they were just examples to make the point that in a good language, it's clear what is going on.
the operator thing is an extension of that. in f#, the "infixness" is just a syntax thing. the semantics is that they are functions and can be treated as such. it seems operators are something weird in python.
they weren't intended to be great or mind blowing. they were just examples to make the point that in a good language, it's clear what is going on.
the operator thing is an extension of that. in f#, the "infixness" is just a syntax thing. the semantics is that they are functions and can be treated as such. it seems operators are something weird in python.