4 ms·
I've suspected for a long time that a knowledge of anti-patterns is of more practical benefit that a knowledge of GoF design-patterns.
by arethuza 17y ago
I've suspected for a long time that a knowledge of anti-patterns is of more practical benefit that a knowledge of GoF design-patterns.
- hga 17y agoThe 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.
- hello_moto 17y agoMost people know GoF DP _and_ practice more AntiPatterns so I have to agree with you here... the net result is a big negative.
- rdez6173 17y agoEspecially since, in my experience, you're more likely to come across anti-patterns than proper design-patterns. It is nice, though, to quantify the idiocy with succinct names.