257m@lemmy.ml to Programming · 2 years agoWhat are your programming hot takes?message-squaremessage-square900linkfedilinkarrow-up1354arrow-down114
arrow-up1340arrow-down1message-squareWhat are your programming hot takes?257m@lemmy.ml to Programming · 2 years agomessage-square900linkfedilink
minus-squareThoth19@lemmy.worldlinkfedilinkarrow-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-squarehellishharlotlinkfedilinkarrow-up3arrow-down1·2 years agoIter works better than I for clarity
minus-squareUnfortunateShort@lemmy.worldlinkfedilinkarrow-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.