PlayDoh VS Lego

September 19, 2016 - 4:29pm
Submitted by gary

Just a fun note,

I was having a discussion with a group of programmers from different backgrounds.

And I was asked the question whats a better language and why do you prefer Java.

So my answer is, I like to build using Lego not PlayDoh.

When I program in Java, I feel my program is very safe and consistent.

when I program in PHP, Python or Ruby, I feel my program is very squishy.

A simply example is:
I don't like loosely typed languages, if I declare a variable "firstName" I want it to be a string and string only. I can choose to have it converted if I want. But I don't want my variables to be able to wobble around.

I like curly braces, they make things more clear and organized.

I don't like the fact you can modify the list of items you are looping through.

and many many more.

so the bottom line is, I like Lego over PlayDoh when it comes to programming.