qaz@lemmy.world to Programmer Humor@programming.devEnglish · 3 days agoSeptlemmy.worldimagemessage-square65fedilinkarrow-up1641
arrow-up1641imageSeptlemmy.worldqaz@lemmy.world to Programmer Humor@programming.devEnglish · 3 days agomessage-square65fedilink
minus-squaretomenzgg@midwest.sociallinkfedilinkEnglisharrow-up5·3 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-up2·1 day 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·1 day agoNevermind, i just spotted the semicolons :)
minus-squareZagorath@aussie.zonelinkfedilinkEnglisharrow-up4·2 days 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-up5·2 days 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.
💯💯💯💯💯💯💯💯💯💯💯