News for hackers. Stuff that matters.
Re:Golang Is Good, Structure Is Bad by nine_k on Sunday October 01, 2017 @09:52AM (#15377793)
tl;dr: export one type per package to avoid shadowing of package names.

Can't help but quote: "Design patterns are bug reports filed against the language" (Peter Norvig, iirc).

Re:Golang Is Good, Structure Is Bad by dullgiulio on Sunday October 01, 2017 @10:29AM (#15377993)
Not really, not in this case.

The author of the article should take some time to learn idiomatic Go. "[...] I can use packages as metaphore for classes" is a big red-flag that one doesn't have the fundamentals.

When one writes Go, writes in Go. Not in Ruby, not in Lisp, not in Haskell. In Go.

Re:Golang Is Good, Structure Is Bad by dozzie on Sunday October 01, 2017 @11:34AM (#15378297)
You don't understand. Good programmer can write in Fortran in any language.