28 mar. 2016

Why do I hate Java? / Por qué odio Java?

http://www.vocativ.com/culture/fun/civet-coffee

Everything is an object...

... No, it's not!

Not everything is a object. Have you ever carefully read Java code? It's full of actions dressed like objects: Mutator, Traverser, Factory, Maker, Creator, Generator, Mediator, Eliminator. So you don't mutate, traverse or create anything, instead you force an object that can do that.

Ok some of that stuff can be useful for well used design patterns and a good design, but most of the time is not!