5 ms·
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 exp
by bb88 4y ago
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 https://github.com/golang/go/discussions/56010
- pjmlp 4y agoGang 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++.
- skacanski 4y agoCorrect! This book has nothing to do w Java.
- nhainer 4y agoI 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!