qaz@lemmy.world to Programmer Humor@programming.devEnglish · 25 days agoSeptlemmy.worldimagemessage-square72fedilinkarrow-up1650arrow-down15
arrow-up1645arrow-down1imageSeptlemmy.worldqaz@lemmy.world to Programmer Humor@programming.devEnglish · 25 days agomessage-square72fedilink
minus-squaremyotheraccount@lemmy.worldlinkfedilinkarrow-up2·23 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-up2·23 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 :)