3 ms·
I have built an app of over 500k sloc in Python. In retrospective, I feel the python as a language was a good choice, it helped us move very fast and do a lot
by LBarret 14y ago
I have built an app of over 500k sloc in Python.
In retrospective, I feel the python as a language was a good choice, it helped us move very fast and do a lot of things :
- One good pythonner is very productive
- It was easier to get someone aboard, it is easy to get python and to reasonnably efficient with it.
- there are libraries for everything.
- going to cython or c++ was always an easy alternative for those crtical part of the code.
The only cases where python can be problematic are :
- high reliability code like trains or planes software, because python code is not provable.
- very high performance, where the slowness of python in the not critical part of code can be a problem.
Besides, It doesn't protect you against the classic problems of a big codebase built by a different of people over a period of time. Tools like pynocle or pylint were good for this.
So, in the end, python has obvious weakness. Most of the time It seems like a solid choice (among others). Right tools for the job, etc.