Hacker News new | ask | show | jobs
by zoogeny 844 days ago
To be clear, I'm not saying the author is wrong. The author wants a thing that Go doesn't have (a thing that I would also like to have in Go). He is calling the thing he wants an "Enum". Then he is insinuating that Go actually has the thing he wants but it sucks. It is confusing because Go does have a thing that some people also call "Enum".

What I'm saying is the thing he wants and the thing Go has may share a name but they aren't the same thing. Just like C++ has "vectors" and OpenGL has "vectors" that share some superficial similarities but are ultimately totally different things.

If someone wrote an article that said "OpenGL vectors suck" and then mentioned it missed a bunch of features available in std:vector as justification, most people would recognize this error and dismiss the discussion.