qaz@lemmy.world to Programmer Humor@programming.devEnglish · 1 year agoSeptlemmy.worldimagemessage-square30linkfedilinkarrow-up1451arrow-down13
arrow-up1448arrow-down1imageSeptlemmy.worldqaz@lemmy.world to Programmer Humor@programming.devEnglish · 1 year agomessage-square30linkfedilink
minus-squareemb@lemmy.worldlinkfedilinkarrow-up79·edit-21 year agoNice touch making Months plural and Day singular. I also like how Wednessecond isn’t going to be the end of the list, trailing comma is there. Cursed.
minus-squareSpaceNoodle@lemmy.worldlinkfedilinkarrow-up21·1 year agoWednesmillisecond, Wednesmicrosecond, …
minus-squareJesusaurus@lemmy.worldlinkfedilinkEnglisharrow-up12·1 year agoWednesnanosecond, Wednespicosecond, Wednesfemtosecond, …
minus-squaretomenzgg@midwest.sociallinkfedilinkEnglisharrow-up4·1 year 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 year 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 year agoNevermind, i just spotted the semicolons :)
Nice touch making Months plural and Day singular.
I also like how Wednessecond isn’t going to be the end of the list, trailing comma is there.
Cursed.
Wednesmillisecond, Wednesmicrosecond, …
Wednesnanosecond, Wednespicosecond, Wednesfemtosecond, …
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 :)
deleted by creator