hoch@lemmy.world to Programmer Humor@lemmy.ml · 1 month agoMore code = more betterlemmy.mlimagemessage-square25linkfedilinkarrow-up1291arrow-down16
arrow-up1285arrow-down1imageMore code = more betterlemmy.mlhoch@lemmy.world to Programmer Humor@lemmy.ml · 1 month agomessage-square25linkfedilink
minus-squareferric_carcinization@lemmy.mllinkfedilinkEnglisharrow-up1·1 month agoYou could do a lot worse. If the type of i was an object, you could overload the negation operation to have side-effects for the third snippet, for example.
You could do a lot worse. If the type of
iwas an object, you could overload the negation operation to have side-effects for the third snippet, for example.