News for hackers. Stuff that matters.
Re:So, I Wrote a Book: The Story Behind “100 Go Mistakes and... by musicale on Friday April 11, 2025 @09:57PM (#43660646)
The go mistakes that tend to bother me the most are things like gc pauses, lack of first-class named and default arguments, lack of exceptions, lack of subrange types, etc.

I usually avoid them by not using go. Or waiting until missing features (generics) are added.

Re:So, I Wrote a Book: The Story Behind “100 Go Mistakes and... by teivah on Saturday April 12, 2025 @09:31AM (#43664212)
Generics are already there.
Re:So, I Wrote a Book: The Story Behind “100 Go Mistakes and... by musicale on Saturday April 12, 2025 @07:42PM (#43668827)
Indeed. And we only had to wait ten years for them, from Go 1.0 to 1.18.