News for hackers. Stuff that matters.
Re:If AI writes your code, why use Python? by ant6n on Tuesday May 12, 2026 @03:34AM (#48105319)
That’s true. Once you have APIs and want to use classes to create larger structures, the language is full of warts.
Re:If AI writes your code, why use Python? by cturner on Tuesday May 12, 2026 @06:59AM (#48106525)
I have built large systems on python that use classes, for more than ten years. I came to it from Java, ten years.

As a rule, I avoid implementation inheritance. Occasionally I need to facade a library that assumes implementation inheritance to avoid it spreading into my codebase.

When the codebase hits a certain size, I hand-roll some decorators to create functionality like java interfaces. With that done, and a suite of acceptance tests, I find it scales up well.