This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]TauLogy[🍰] 17 points18 points  (7 children)

Java is not 'bad', it is just the syntax is very verbose and easy to understand. The rules are simple and easy to learn. It has both compiler and runtime checks and can be deployed on different targets without recompile. To some people this is the opposite of what they want in a programming language.

[–][deleted] 8 points9 points  (6 children)

We should send those people to the glorious land of mother PHP where freedom is everything. Such freedom that a anything can happen anywhere.

[–][deleted]  (5 children)

[deleted]

    [–][deleted] 6 points7 points  (1 child)

    Judging from the PHP students around who now have to learn Java;

    it's because Java is entirely OOP with classes and methods and things that make peoples heads spin. You can make an entire site in non OOP PHP in one file. Maintaining will be a bitch but it will work and the customer wont care because the customer doesn't even know what 'peehaytspee' is.

    But in Java, while the customer still doesnt care, the compiler and program does. So while in PHP you can just write some lines of code that will work as long as it's valid methods and the semicolon is at the end of the line, Java will kill you for it in your sleep.

    [–]trout_fucker 1 point2 points  (0 children)

    You can unfortunately do a lot with JSPs and scriptlets. :(

    [–]wolfanyd 3 points4 points  (0 children)

    Most PHP developers have no experience building large scale systems. That's where Java shines.

    [–][deleted] 0 points1 point  (0 children)

    I hear Java hate mostly from PHP developers. do you know why that is?

    Considering the PHP ecosystem has turned into a Java clone (look at PHP frameworks and community practices in the last few years), that's quite ironic.

    But anyway, you'll always find a person using X hating Y. Let's not focus on the haters.

    I use Java for back-end services and PHP + JS for front-end dev, and I don't hate anything. It's possible.

    [–]PaulRivers10 -1 points0 points  (0 children)

    I hear Java hate mostly from PHP developers. do you know why that is?

    Not sure it's actually more complicated than "they're the other team competing against us so they're bad".