257m@lemmy.ml to Programming@programming.dev · 2 years agoWhat are your programming hot takes?message-squaremessage-square726fedilinkarrow-up1334arrow-down114
arrow-up1320arrow-down1message-squareWhat are your programming hot takes?257m@lemmy.ml to Programming@programming.dev · 2 years agomessage-square726fedilink
minus-squareThoth19linkfedilinkarrow-up7·2 years agoGuess I’ll have to name all of my iterators “it” instead of “I”. That will fix things. Definitely a hot take though. Bc there are definitely times when it is totally acceptable.
minus-squarehellishharlot@programming.devlinkfedilinkarrow-up3arrow-down1·2 years agoIter works better than I for clarity
minus-squareUnfortunateShortlinkfedilinkarrow-up3·2 years agoAn iterator is commonly understood to be an object and thus something much more complex than a simple integer. This is the exact opposite of more clear.
Guess I’ll have to name all of my iterators “it” instead of “I”. That will fix things.
Definitely a hot take though. Bc there are definitely times when it is totally acceptable.
Iter works better than I for clarity
An iterator is commonly understood to be an object and thus something much more complex than a simple integer. This is the exact opposite of more clear.