I also found it amusing that chromatic's best example in explaining "Replace Conditional with Polymorphism" was that:
Neither the post nor that example is about "Replace Conditional with Polymorphism". As you imply, that pattern is a specific case of the more general "Reduce Conditionals".
In reply to Re^2: Programming patterns (cohesion)
by chromatic
in thread Programming patterns
by McA
For: | Use: | ||
& | & | ||
< | < | ||
> | > | ||
[ | [ | ||
] | ] |