Java for Everything

There is a lot of interesting things in this article. But it is just wrong. Not that Java is bad, it is good. But Java for everything? So lets get rid of CSS and use Java. Wait we don't need Markdown any more, lets use Java. SQL - nah, Java.

How about some real world examples: Use English instead of Maths; Write English instead of draughting engineering drawings.

Yeah it is possible to do it. But is it better or correct? Of course not, it is better to learn how to do technical drawings.

Languages have their place:

  • SQL - Nothing comes close. Check out Never do in code...
  • Regular Expressions - Try parsing text any other way - just too hard. Have a go in Java without RE.
  • C - All these things, including Java are written in C - bootstrap Java with Java? Running Java in your microwave, or maybe those tiny CPU in the Tyre Pressure Sensor? I'll stick to C
  • CSS - Love it or hate it, concept is great
  • Functional Programming - pure Java?
  • Shell - Java shell? Done but really another DSL.

Maslow's hammer

The law of the instrument is an over-reliance on a familiar tool, "I suppose it is tempting, if the only tool you have is a hammer, to treat everything as if it were a nail." OR "I call it the law of the instrument, and it may be formulated as follows: Give a small boy a hammer, and he will find that everything he encounters needs pounding."