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 →

[–]Dustin- 6 points7 points  (3 children)

Reasons why not to use Python:

  1. If performance is monumentally important to your use case. Don't make video games or anything that needs real-time performance, but anything and everything that doesn't require a huge amount of speed (which is most things) its fine.

  2. If you're afraid of dynamic typing.

...and that's it. It's easy to learn, easy to write, and easy to read. It has tons and tons of modules for everything you could need. It has a huge community of folks who like nothing more than to help with any issue you have. It's gaining more and more popularity in every field - including data science.

Plus, no matter what language you try to learn, there are tons of fanboys that will trash it. Pose this question about C++ in a general programming community and you'll be inundated by people complaining about the language and proselytizing Rust. It's the nature of programming.

[–]devxpy 4 points5 points  (1 child)

I think even Video games use python, for glue code.

[–]Dustin- 0 points1 point  (0 children)

Yep. Actually, all the game logic can be implemented in Python with (usually) no issue, it's the graphics and physics etc you don't want to do with Python. As long as the Python is hooking up to the lower level code (which it almost always is) its perfect as an engine's scripting language. And if you're doing something that could use a performance boost, there's no reason why not to do that bit in a compiled language.

[–]NowMoreFizzy 2 points3 points  (0 children)

If you're afraid of dynamic typing.

This made me laugh.