News for hackers. Stuff that matters.
Re:I want off Mr. Golang’s Wild Ride (2020) by eweise on Thursday April 28, 2022 @02:51PM (#31196638)
There's nothing stopping you from building bad abstractions in Go, and I find it pretty common. Here's an example:

Debug(msg string, keyvals ...interface{})

The keyvals interface assumes you are passing in both a key and a value but if you don't, it doesn't work correctly and in fact in our code I think it blows up.

Re:I want off Mr. Golang’s Wild Ride (2020) by philosopher1234 on Thursday April 28, 2022 @03:31PM (#31197145)
Definitely. Go is not the last word in the conversation on programming language design, and it hasn’t solved the problem of prohibiting harmful abstractions. But I do think the conservativeness around abstraction is an improvement, at least culturally, over the way many language communities view software development.