qaz@lemmy.world to Programmer Humor@programming.devEnglish · 1 month agoSeptlemmy.worldimagemessage-square72fedilinkarrow-up1655
arrow-up1655imageSeptlemmy.worldqaz@lemmy.world to Programmer Humor@programming.devEnglish · 1 month agomessage-square72fedilink
minus-squaremyotheraccount@lemmy.worldlinkfedilinkarrow-up2·1 month 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 month 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 :)