News for hackers. Stuff that matters.
Re:Go Enums Still Suck by ayhanfuat on Thursday March 28, 2024 @07:10AM (#39849716)
I don't think it is a minor annoyance. It is indeed very hard to read.
Re:Go Enums Still Suck by axitanull on Thursday March 28, 2024 @07:15AM (#39849741)
So to continue our bikeshedding:

Hacker News has no shortage of resourceful people that can silently handle the issue by themselves (the first comment even said themselves that they could simply use Reader Mode!). But the main point of my reply is: look at the number of replies that focus on the style of the website, and compare that to the number of replies that focus on the point of the post/article.

Re:Go Enums Still Suck by hnuser123456 on Thursday March 28, 2024 @07:50AM (#39850032)
This forum is primarily used by computer programmers... and I only saw one other comment chain critiquing the style. And I agree with them that the font size is far larger than you'd normally see for a body of text to the point that it's jarring. I don't have much experience with Go, so I can't comment much on the content, I'm just here to learn when it comes to the content. As far as I can tell they are vastly overcomplicating the concept of assigning variables.
Re:Go Enums Still Suck by randomdata on Thursday March 28, 2024 @07:28AM (#39849829)
There is no point to the article, though. Enums suck in every language that have them. There is good reason why many modern languages don’t have them at all, offering sum types instead. It doesn’t add anything to the conversation.
Re:Go Enums Still Suck by andai on Thursday March 28, 2024 @07:26AM (#39849810)
Font is small on my phone, but I can read it in landscape mode. Hey, I'll take it over the average news / blog site these days.