News for hackers. Stuff that matters.
Re:Go 1.11 got me to stop ignoring Go by andrewmcwatters on Tuesday October 09, 2018 @04:02PM (#18179359)
How is this any different than namespace_init(); functions from C?

I hear language complaints like this all the time, and it always sounds like developers grasping for something to complain about.

I'm not even a Go fan, but I think you can cut the language some slack here at least in this department.

The entire approach Go is selling from what I've hear is they're entirely forgoing the traditional object-oriented (in the C++ and Java sense of the term) approach for composability. Okay, sure, whatever, good for Go developers; but you can't complain about a leopard having spots. Just accept it or move on.

Re:Go 1.11 got me to stop ignoring Go by Sharlin on Tuesday October 09, 2018 @04:36PM (#18179617)
> How is this any different than namespace_init(); functions from C?

It's not; presumably that's the point. C isn't exactly famous for its support for data hiding and enforcing invariants.