Hacker News new | ask | show | jobs
by rolisz 1586 days ago
But many programmers use it as a how-to guide. I've had people tell me "but that's how it's done in GOF", even if the design pattern was a poor fit for the problem at hand, just because there was some superficial resemblance to one of the examples in the book.
3 comments

Ask them to re read chap.1 or 2 where it says black-on-white that this is not a set of mandatory rules. (Same for Clean Code by the way which is often taken as gospel against the wishes of its own author!)
I remember trying really hard to find case where I could use a pattern in my code as a junior dev.
but this is not the fault of the book but of bad teaching.