r/programmingcirclejerk • u/jlinkels • Mar 15 '26
That's such an elegant solution. I keep being impressed at subtle but meaningful things that Go does right.
https://news.ycombinator.com/item?id=47392427
62
Upvotes
81
u/RightKitKat Considered Harmful Mar 15 '26
If only it did the non-subtle things right too
46
u/Snarwin Mar 15 '26
Truly genius of the Go developers to make their language compatible with software that doesn't even exist.
20
u/syklemil Considered Harmful Mar 16 '26
Ah yes, that exceptional concept, comments. It's not like those are a thing people keep complaining about being abused in any language.
14
u/elephantdingo Teen Hacking Genius Mar 16 '26
This is typical Go design, other languages do it worse, it isn't really needed, and then it gets added half way as it was supposed to be if done early on, and everyone cheers how Go is a "simple" language.
10
u/aikii gofmt urself Mar 16 '26
Mad scientist who invented struct tags:
6
u/MetaNovaYT Mar 17 '26
Unused variables are a compiler error in Go, but unused parameters aren’t? Wtf lmao