257m@lemmy.ml to Programming@programming.dev · 1 year agoWhat are your programming hot takes?message-squaremessage-square1056fedilinkarrow-up1344arrow-down114
arrow-up1330arrow-down1message-squareWhat are your programming hot takes?257m@lemmy.ml to Programming@programming.dev · 1 year agomessage-square1056fedilink
minus-squareThoth19@lemmy.worldlinkfedilinkarrow-up7·1 year 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·1 year agoIter works better than I for clarity
minus-squareUnfortunateShort@lemmy.worldlinkfedilinkarrow-up3·1 year 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.