Comment on Left to Right Programming

<- View Parent
patatahooligan@lemmy.world ⁨1⁩ ⁨week⁩ ago

I agree with you that the one liner isn’t a good example, but I do prefer the “left to right” syntax shown in the article. My brain just really likes getting the information in this order: “Iterate over Collection, and for each object do Operation(object)”.

The cost of writing member functions for each class is a valid concern. I’m really interested in the concept of uniform function call syntax for this reason, though I haven’t played around with a language that has it to get a feeling of what its downsides might be.

source
Sort:hotnewtop