Chifahatim·Apr 2Fixing Namespace Collisions in Large Python Codebases: How to Stop the Import HellImport problems look harmless until they waste days. You run a script locally, it works. Push to CI, it explodes with ModuleNotFoundError…
Code With Ahmad·Mar 12What I Learned From Reviewing 10k Lines of Python CodeYou’re asked to review a massive pull request — 10,000 lines touching every corner of a service. There’s pressure to approve fast, but you…
Code With Ahmad·Feb 12Stop Using try/finally — Write Your Own Context ManagersYour service hit production and started leaking file descriptors. Logs filled up, a few workers hung indefinitely, and you eventually…
InPython in Plain EnglishbySubhajit Bhar·Jan 21Why Most Python Developers Repeat the Same Slice MistakeThe slice() object that 95% of developers don’t know exists, and why it will save you hours of debugging
InPython in Plain EnglishbySubhajit Bhar·Jan 205 Useful Generator Functions Every Python Developer Should KnowWrite cleaner, faster Python by generating values only when you actually need themA response icon2