Do all the things like ++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatarSign Up
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple APILearn More
BillLumbergh6584305dPython code requires a lot of discipline and knowledge on how easily it can go bad to keep it clean
Voxera11365305d@JKyll just like php and C, the languages are not bad and with discipline you can maintain big projects.
But they contain some features that either should be avoided today or that require a good code structure to avoid a mess (the good code structure is probably valid for any language).
And regarding speed, as with most cases its rarely the language that dictates the speed but IO.
Or in one of the common cases for python, the math and ai libraries, and those are heavily optimized, often written in other languages.
So the actual python code does not have to be lightning fast as its not doing the heavy lifting.
And there are very many good libraries for python.
So its often best to use the tools you know.
That said, you should always test out alternatives so you do not get stuck with obsolete tech, but what counts in the end is if the job gets done :)
NemeXis287305dWell you could at least use mandatory (CI) type hinting validation
iiii8862305dStatic validator and type hinting exists 🤔
Not the best solution, but can be added to the automated pipeline
shitbrains50304dIf your code is sensitive to white spaces that’s a 🚩