627
you are viewing a single comment's thread
view the rest of the comments
[-] dark_stang@beehaw.org 29 points 3 years ago

x is used for map, filter, etc. a and b are used for sorts, comparisons and merges. y might be used if I'm doing multiple lambda expressions (but that means I'm in a bad place already). I have no idea why, but these are firm rules in my brain.

[-] russmatney@programming.dev 1 points 3 years ago

Yes! I love using x (and xs) for functions over whatever the thing is (or things are).

load more comments (2 replies)
this post was submitted on 09 Jul 2023
627 points (93.8% liked)

Programmer Humor

43541 readers
2 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 7 years ago
MODERATORS