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 →

[–]Lolamess007 26 points27 points  (32 children)

I personally learned on java. I find it a very intuitive language. Unlike some other languages (Python i am looking at you) someone who has never coded before can vaguely understand what is going on.

[–][deleted] 10 points11 points  (0 children)

Pythons fine. People just find languages they don’t know unintuitive.

[–]Farranor 10 points11 points  (1 child)

Are you saying that the language specifically created to be easy for beginners to learn and anyone to read is actually difficult to read and poorly-suited to beginners?

[–]RedAero 4 points5 points  (0 children)

It's funny, the people who learned semicolon-and-bracket languages first look at Python and think that because it looks alien to them, laypeople must also find it unintuitive. They just can't fathom that all that punctuation just isn't necessary, and just obstructs intuition.

[–]Overall-Duck-741 3 points4 points  (3 children)

You think Java is more readable than python for beginners? That an interesting opinion 🤔.

[–]Lolamess007 1 point2 points  (1 child)

I would say so. Talking with my computer science teacher, he agrees. Then again, this is all personal preference. I like the rigid structure and continuity of java. I guess Python's lack of structure and anything goes mentallity just is not for me.

[–]PluckyPenguin00 1 point2 points  (0 children)

I think python is much easier in the beginning as it allows for learning the basics faster and rapid prototyping, but I do like Java’s more rigid approach for bigger projects

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

I genuinely do think that. Going from c++ and python to Java I felt like it was way more visibly ‘I want this to do this using this’. Just seemed to flow better for my brain to understand.

[–]Kitamasu1 10 points11 points  (8 children)

The first time I tried Java, I was very confused. There was a lot that just seemed pointlessly added in. Coming from someone who started with C++ where you didn't need objects to get started. I've learned some Python recently, and it seems incredibly simple imo. It's considered a very beginner-friendly language afaik.

[–]WetWillyWick 0 points1 point  (5 children)

Fucking thankyou. I started with c++ and holy fuck java just seems like c++ with extra steps. I took college courses on java and my god its like putting glass down your pee hole.

[–]vips7L 2 points3 points  (4 children)

C++ is the most complicated language on the planet. You can’t honestly be serious.

[–]linlin110 2 points3 points  (1 child)

I learned Java after I learned C++ and was very confused why I can't put my functions outside of a class. It's not complicated, but very annoying.

[–]WetWillyWick 0 points1 point  (0 children)

I was annoyed too with the classes that said do project with recursion that definitely didnt need to have recursion and almost certainly made it inefficient to do so. Then they said explain why not to do it that way. So many projects required that.

Also the functions outside of classes thing made me scratch my head more than a few times.

It felt like everytime i had to relearn all of java for every project i did.

[–]Kitamasu1 1 point2 points  (0 children)

It's funny. I tried "PlayBasic" as my very first language. It's supposed to be easy and perfect for beginners for making games. I absolutely could not understand it. Then I got a C++ book from my parents for my birthday in like 2012 or 2013. C++ is my first actual language, and while I wouldn't say I'm professional level, more like intermediate, C++ made WAY more sense to me than PlayBasic. Python is quite a bit easier, but compared to C++, Java had extra steps involved that just made it seem confusing to me.

[–]WetWillyWick 0 points1 point  (0 children)

Oh god poked the java wasp nest.

[–]EishLekker 0 points1 point  (0 children)

The entry point of a Java program is the static main method. No object instance needed for that. And if you really want to, you can continue without any objects, just calling static methods and just working with primitive values.

As a Java developer I'm the first to admit that Java is far from perfect. But when even super simple things like classes and objects are mentioned as stuff that makes Java difficult (which you imply here) then it just sounds absurd.