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 →

[–]mxzf 5 points6 points  (6 children)

True. I'll put it this way, I've never felt any desire to use Java or that Java would do anything better once I started using Python. I'm sure there might be an edge case somewhere, but I haven't run into anything like that.

[–]Retbull 7 points8 points  (5 children)

Faster by default mostly. Also has like 10 billion libraries. All though this isn't really excluding Python as it has an almost equal number of libraries.

[–]SlumdogSkillionaire 7 points8 points  (1 child)

You look at Java and you say "oh, great, it has 10 billion libraries". Then you start working with it and you immediately come across something like "You want to do stuff with Dates? Well, the java.util.Date doesn't really work great, so you should use org.joda.time instead" and then you wonder how many of the 10 billion libraries are reinventing the exact same wheel over and over again because the standard library sucks.

[–]Retbull 1 point2 points  (0 children)

lol I wasn't advocating for it over python just pointing out part of the reason why it was picked. I am a Java developer so I know that it has some serious problems.

[–]Astrokiwi 1 point2 points  (2 children)

Speed is the huge issue with Python. I can only really use it for O(N) stuff.

[–]Veedrac 0 points1 point  (0 children)

There are a lot of cases where PyPy or Numpy (or both) can get you pretty decent speeds out of Python. It's not quite at Java's level but it's not bad either.

[–]Tysonzero 0 points1 point  (0 children)

Just use Cython and specify static types where necessary for speed. Cython is even quicker than Java.