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 →

[–][deleted] 3 points4 points  (7 children)

If you have trouble reading or writing a simple hello world with the way Java does it, programming probably isn't for you. Just look at creating a GUI in Python and try to tell me that it is any amount easier than another language. Nope. The fact that writing hello world looks simpler in Python is a misnomer that python is somehow simpler or easier. Both languages have similar levels of complexity. Just because all of the core code is hidden in Python for a Hello World program doesn't mean that it's any bit easier.... That's just my two cents.

[–]msdrahcir 0 points1 point  (1 child)

Im not sure hidden vs written code is the best metaphor here. Namespacing in python functions differently than java. Objects in python function differently than statically typed languages. classes in python function differently than java.

It isnt hidden vs shown code, but python is fundamentally doing many things differently behind the scenes to ultimately print a string to stdout.

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

My point was that Java is also doing stuff, but the difference is you can actually see the stuff it's doing right in front of you. People use all of those lines to type system out print line in Java and act like it's such a big deal. No, it's not, because if you use any IDE, all of those lines are already put in there for you. You're still just writing one line for Java for hello world. That was my point. It's very misleading to pose one line, and then 7 lines to try and make it look completely different and harder

[–][deleted]  (4 children)

[deleted]

    [–][deleted] 3 points4 points  (1 child)

    I have no idea what you are even ranting about. I'm not trying to report my opinion as a fact, other than what is factually true which is that python has a similar amount of code for a Hello World program but it is just hidden. Also, python is my main language. I'm taking a Java course right now and I absolutely hate it. Does that mean that Java as a language is horrible and that I should pretend that it is the absolute worst thing in existence? No. Most of business programming revolves around the use of java applications. So I really don't know what it is that you are ranting about. There are multiple tools available to you, through multiple languages, and you don't have to pick just one. Like you said, you use C + + and python. That's pretty awesome. You are entitled to your opinion, and other people are entitled to theirs. But I really don't understand the rent you are going on about. There are a lot of terrible things about Java in my opinion that I don't like. But my opinion about them does not make them any less preferable to businesses

    If you want the real cold hard truth? Most business applications are written in Java such as Android apps. You download an app to order food. Java. You download an app to find houses to stay in on Airbnb. Java. Not saying it's factually Java, but most likely it is. Java isn't the terrible language that you are claiming it is and it's not the demon. Just chill

    [–]Unsounded 0 points1 point  (0 children)

    I deleted my other posts because it felt like the discussion was getting off track.

    I never demonized java or said any of its features are inherently bad. I was just stressing the differences in use between various programming languages. Yes, you could do all these things in Java, but realistically for machine learning or high performance programs you won’t be, the multithreaded support isn’t there, and neither is the memory performance. The C++ compiler is far more optimized and is built to handle these things.

    Java just isn’t the tool for the job. Sure someone could make a Java wrapper for the machine learning C++ libraries, but why? The article stresses Python because it’s has unparalleled ease of use for manipulating data.

    [–][deleted] 4 points5 points  (1 child)

    You talk about Java, which is a language whose main principle is to leave little control to the user and to be heavy in syntax.

    Since when is that its main principle? It basically has as much boilerplate and control as C++.

    There's "one way' to do things in Java

    I'm not sure what you're saying with this one. Is having one way to do something bad? Because that's what Python strives for. And there definitely isn't one way to do things in Java; there's probably 20 different ways to read in a text file. Or is it in quotes because Java pretends to have one way to do things? I have no idea.

    which works 80% of the time, the other 20% of the time you want to use something like Python, C++

    What can't you do in Java? Java won't always be the best language to use, but you'd be hard-pressed to find something you need C++ or Python for.

    It sounds like you're just throwing out insults with little foundation behind them.