re: What do you dislike about your favorite language? VIEW POST


Golangs lack of enum support is easily the most annoying thing about the language for me.

Currently I have a ruby script that has an enum schema and it prints out golang code for each enum it has all of the constants, an array of all the values, and a function to test if a given object is one of the enum values.

code of conduct - report abuse