3 ms·
Debugging Python is a pain, but it's an amazingly expressive language and a joy to work with. However, once you find that the cost of debugging outweighs the be
by Cyph0n 10y ago
Debugging Python is a pain, but it's an amazingly expressive language and a joy to work with. However, once you find that the cost of debugging outweighs the benefits, you probably should switch to another language. Even more so if you are facing performance issues!
As for myself, the first serious language I taught myself was Python, so I'll always have a soft spot for it. Now that I've begun to realize Python's shortcomings, I've started to work more with statically typed languages; my favorites are Scala and C++, and my next goal is to work with Rust.
- erichurkman 10y agoIt's also important to check out other debugging tools for Python. If you're relying on the build in debugger tools, it's a pretty miserable experience. I'm a big fan of pudb [0] that gives a much better experience. [0] https://pypi.python.org/pypi/pudb https://pypi.python.org/pypi/pudb