Re:How (not) to write Factorial in Java
by cynicalkane on Wednesday January 26, 2011 @12:29PM
(#2144006)
Yes, this. I think people are missing, or not remembering, that Java makes you code defensively where other languages don't, and the appeal of falling into these patterns just to make sure all bases are covered without having to think too hard.
In Java, if I think I might need a pluggable architecture later, I'm tempted to go ahead and make it from the start, since my object model will need to support it.