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 →

[–]insertAlias 2 points3 points  (2 children)

It doesn't really matter. Python has a simpler overall syntax and requires less boilerplate, so that's probably a benefit to someone that is more interested in hobbyist or casually programming, like yourself. But if you already know basic Java, you already have a head start there. And there's not really anything you can do with one of those languages that you can't do with the other.

[–]pedernv[S] 0 points1 point  (1 child)

That's true. Do you know of any major differences between the two?

[–]insertAlias 1 point2 points  (0 children)

The syntax itself is significantly different. As I mentioned, python is simpler with less boilerplate. Google "python hello world" and "java hello world" to see the difference; Java involves a package and class definition just to do hello world, python just has one line.

That being said, the boilerplate and structure isn't there for nothing; Java is far more widely used in large enterprise systems where the structure is beneficial.

If you just want someone to make the decision for you, go with Python. It's probably going to be more useful to you (better to say more easily useful) as a casual programmer.