qaz@lemmy.world to Programmer Humor@programming.devEnglish · 29 days agoSeptlemmy.worldimagemessage-square64linkfedilinkarrow-up11arrow-down10
arrow-up11arrow-down1imageSeptlemmy.worldqaz@lemmy.world to Programmer Humor@programming.devEnglish · 29 days agomessage-square64linkfedilink
minus-squaremyotheraccount@lemmy.worldlinkfedilinkarrow-up0·27 days 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-up0·27 days agoNevermind, i just spotted the semicolons :)
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 :)