On the Development Choas Theory blog, I bumped into a brilliant blog post titled How (not) to write Factorial in Java.
It is not about Java, or any other programming language, platform or library for that matter.
It equally applies to your favourite programming language and framework (be it shell scripts, assembler, .NET, Delphi, haskell, PHP, ruby, Eiffel, Java or any other).
It is about the question that Neal Ford taught me quite a while ago that you should ask yourself several times a day:
“Am I writing a framework now?”
Developing software is about only developing the things you really need to.
Framework development is in a totally different league than developing ‘just’ software.
It requires even more thought, attention, testing, etc.
And after that, you need to support it on a different level too.
Frameworks are far more costly than you would guess at first sight…
So only develop a framework for something (*) if you observe that it is actually used in a lot of places and requires a framework.
(*) insert what you are currently working on here.
–jeroen
Via: Development Chaos Theory » Blog Archive » How (not) to write Factorial in Java