bugsmith@programming.dev to Golang@programming.dev · 4 months agoGo Enums Still Suckwww.zarl.devexternal-linkmessage-square11fedilinkarrow-up10arrow-down10
arrow-up10arrow-down1external-linkGo Enums Still Suckwww.zarl.devbugsmith@programming.dev to Golang@programming.dev · 4 months agomessage-square11fedilink
minus-squareEthan@programming.devlinkfedilinkEnglisharrow-up0·4 months agoYou are correct, Go doesn’t have enums. The const thing is a widely accepted pattern for approximating enums.
You are correct, Go doesn’t have enums. The const thing is a widely accepted pattern for approximating enums.