Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

A decade or so ago there was an idea that "patterns" (Gang of Four) needed to exist because the underlying language (Java, etc) was limited in it's power or expressiveness.

Go is opinionated, and much of that has hurt the language -- with the go loop semantics coming to mind. Instead of realizing their mistake early and fixing it back in 2009ish, they doubled down on it. Here in 2022, they finally opened it back up for discussion.

https://github.com/golang/go/discussions/56010



Gang of Four book predates Java and has zero lines of code about it, since the language did not exist.

All the examples are about Smalltalk and C++.


I was told by the publisher in 1984 that The Gang of Four was coming out of with a Java version of their book. So I contacted one of the authors, (who remain nameless) who almost ripped my head off when I told him what the publisher told me!


Correct! This book has nothing to do w Java.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: