mastermind ( @mastermind@lemm.ee ) to Programmer Humor@lemmy.ml · 3 years agowhy not a,b or x,y?lemm.eeimagemessage-square46linkfedilinkarrow-up1336
arrow-up1336imagewhy not a,b or x,y?lemm.ee mastermind ( @mastermind@lemm.ee ) to Programmer Humor@lemmy.ml · 3 years agomessage-square46linkfedilink
minus-square dark_stang ( @dark_stang@beehaw.org ) linkfedilinkarrow-up14·edit-21 year agodeleted by creator
minus-square DogMuffins ( @DogMuffins@discuss.tchncs.de ) linkfedilinkarrow-up8·3 years agoI’ve gotten used to using the singular form as in… records.filter((record) => …) Not saying this way is better but it works for me.
minus-square karbonkel ( @karbonkel@beehaw.org ) linkfedilinkarrow-up2·3 years agoI do this too. I hate using just x, because it’s so non-descriptive.
minus-square russ ( @russmatney@programming.dev ) linkfedilinkarrow-up1·3 years agoYes! I love using x (and xs) for functions over whatever the thing is (or things are).
deleted by creator
I’ve gotten used to using the singular form as in…
records.filter((record) => …)
Not saying this way is better but it works for me.
I do this too. I hate using just
x, because it’s so non-descriptive.Yes! I love using x (and xs) for functions over whatever the thing is (or things are).