lemmydividebyzero@reddthat.com to Technology@lemmy.worldEnglish · 4 months agoName before type: why 'age int' is better than 'int age'benhoyt.comexternal-linkmessage-square55linkfedilinkarrow-up161arrow-down123
arrow-up138arrow-down1external-linkName before type: why 'age int' is better than 'int age'benhoyt.comlemmydividebyzero@reddthat.com to Technology@lemmy.worldEnglish · 4 months agomessage-square55linkfedilink
minus-squaremEEGal@lemmy.worldlinkfedilinkEnglisharrow-up2·4 months agoThat’s because declaring several variables on the same line is syntactic sugar, although I agree it makes little sense this way
That’s because declaring several variables on the same line is syntactic sugar, although I agree it makes little sense this way