2 ms·
The key here is to take the approach of the invaluable anti-patterns book and apply your recognition of an anti-pattern into how to refactor it into something b
by hga 17y ago
The key here is to take the approach of the invaluable anti-patterns book and apply your recognition of an anti-pattern into how to refactor it into something better (or get the hell out if you can't).
It's also worth noting that greenfields projects tend to be rare in our field, more often you're starting with an existing brownfield code base. GoF addresses the former, anti-patterns directly address the latter, although it's of course useful to know about anti-patterns so that you can avoid falling into them when you've got a greenfield to start with.