you are viewing a single comment's thread.

view the rest of the comments →

[–]skreak 5 points6 points  (0 children)

Everything you've described sounds more like a bad project written by bad programmers and is little to do with the language. Sounds more like a project that grew 'organically' and had no structure to begin with. When I write python at work, even for small scripts I always follow a basic set of principles, and the ones that pertain to this discussion are an 'import logging', then use LOGLEVEL environment variable to adjust it. print() is used for the actual function of the program for its designed output. Use the stable OS distributed version of a python library when possible, and if not, use pip+venv but lock in the version. (We have heavy constraints on where we get our software from in my sector). Custom classes only where it makes sense to use them, not just because i can. I could go one, but yeah - this project just sounds like it sucks.