qaz@lemmy.world to Programmer Humor@programming.devEnglish · 2 days agoSeptlemmy.worldimagemessage-square65fedilinkarrow-up1631arrow-down15
arrow-up1626arrow-down1imageSeptlemmy.worldqaz@lemmy.world to Programmer Humor@programming.devEnglish · 2 days agomessage-square65fedilink
minus-squaretomenzgg@midwest.sociallinkfedilinkEnglisharrow-up4·2 days agoCan you tell what language it is? Some allow you to have dangling commas (I, personally, hate it but it could be the end of the list, nevertheless).
minus-squaremyotheraccount@lemmy.worldlinkfedilinkarrow-up1·7 hours agoIt could be Typescript or Rust. But probably a lot of oter languages have enums expressed like this too. Likely not C, because no semicolon, and no prefix on the variants.
minus-squaremyotheraccount@lemmy.worldlinkfedilinkarrow-up2·7 hours agoNevermind, i just spotted the semicolons :)
minus-squareZagorath@aussie.zonelinkfedilinkEnglisharrow-up5·1 day agoI understand the argument in favour of dangling commas, but oh gods I hate it. Aesthetically it’s just so awful.
minus-squareGrey Cat@lemmy.worldlinkfedilinkEnglisharrow-up4·1 day agoI fucking love dangling commas. Especially for lists of lists.
Can you tell what language it is? Some allow you to have dangling commas (I, personally, hate it but it could be the end of the list, nevertheless).
C#
It could be Typescript or Rust. But probably a lot of oter languages have enums expressed like this too. Likely not C, because no semicolon, and no prefix on the variants.
Nevermind, i just spotted the semicolons :)
I understand the argument in favour of dangling commas, but oh gods I hate it. Aesthetically it’s just so awful.
💯💯💯💯💯💯💯💯💯💯💯
I fucking love dangling commas. Especially for lists of lists.