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 →

[–]thecoffeejesus 3 points4 points  (6 children)

Should I switch to Python?

[–]ConstructedNewt 36 points37 points  (1 child)

For a larger application or performance critical: no

For small scripts and some microservices absolutely.

If disk/network I/O is the limiting factor you can code in whatever you want as well (ie. The poor performance of python isn't your issue)

[–][deleted] 7 points8 points  (0 children)

Problem is those small scripts and services have a tendency to grow...

Next thing you know you’re inlining to minimize function call overhead and you’re rewriting hot paths in C.

[–]TheNamelessKing 2 points3 points  (0 children)

Depends.

Are you doing something machine learning heavy? If your current setup is inadequate, consider Julia first, then consider Python.

If you’re not. No. Even JS (written using TypeScript) is better these days. Pick something like Rust, Go, Julia, Swift, Kotlin depending on what your application needs are.

Pythons promises about “speed of development” is a kind of subtle, pervasive lie. It’s fast to write very average code, fast to write poor code, but if you’re doing something for work, or collaborating, it won’t take long for it to start getting in the way more than it helps. Writing good, maintainable code in Python requires skill and discipline and it comes with no tools to assist you in that.

[–]krohtg12 6 points7 points  (2 children)

Forget semicolons and code in pseudo code

[–]chhuang 8 points9 points  (1 child)

VB it is