Stupid developer tricks

Posted on April 16, 2004
Filed Under /dev/null/ | 44 views |

For any software development argument any developer can provide a seemingly brilliant example to either support their argument or belittle another’s. Such is the case of this: Hello world in Patterns in which some guy decides to use a strict adherance to design patterns to write “Hello World” in a mere 160 lines of code. I guess his point is that design patterns can be a bad thing.

Wow. Great. I could do the same thing procedurally with the same effect.

So here’s an alternate perspective: if you have a nice little wooden hammer with a nice little metal head and you have to drive one little nail through a couple little boards, don’t go to Home Depot and buy the $600 Railgun Nailgun Deluxe. Just whack the nail a few times.

However, when it comes time to build the deck on the back of your house you may just want to consider your options and perhaps the little hammer isn’t your best choice.

Extremist arguments like those of the article are superficial and inane and generally just muddy the waters of development methodologies.

Repeat after me: “the right tool for the right job”, “the right tool for the right job”….

(Now if he actually did manage to write “Hello World” using all the GoF patterns, that’d be cool unto it’s own right!… but for all the wrong reasons.)

Comments

Comments are closed.