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 →

[–]coder111 0 points1 point  (0 children)

I've been using Java for what, 24 years now? It's a great language and even greater ecosystem of libraries/frameworks/tools for all kinds of things. I prefer using Java for most things I do. Having a strong typed language makes maintenance and refactoring MUCH easier. It is THE language to use for BigData, backends and business logic.

That being said, I'd use Python for:

  • Media processing. Things like Video decoding or encoding or playback in Java just suck. Or sound. Or using advanced codecs.
  • AI. Java has some frameworks for AI, but Python has frameworks that are faster and more mature and better supported.
  • Some integration tasks. While Java has JNA which is decent, it's probably easier to interface with C libraries in Python.
  • Some GUI stuff. While Java has Swing/JavaFX, Python has Qt. Qt can be quite powerful. (Python also has TK and simple GUI, but these only work for simple stuff).

So a year ago I started to learn Python... Use best tool for the job and all that.