News for hackers. Stuff that matters.
Re:If AI writes your code, why use Python? by bushbaba on Monday May 11, 2026 @10:42PM (#48103589)
Cool to see my hunch be backed by data. Python is a scripting language with OOP bolted on. Means there’s not really a styling consistency that other languages have, with things tending to look like PHP, a collection of various scripts that invoke one another
Re:If AI writes your code, why use Python? by toxik on Tuesday May 12, 2026 @01:35AM (#48104575)
Python was designed with objects in mind from day one.
Re:If AI writes your code, why use Python? by regularfry on Tuesday May 12, 2026 @04:58AM (#48105856)
"Designed" is doing a lot of work here. There are clearly bits that are just bolted on because they didn't want to change the syntax.
Re:If AI writes your code, why use Python? by nsbk on Tuesday May 12, 2026 @02:15AM (#48104825)
EVERYTHING in Python is an object. I’m not sure how that could have been bolted onto the language
Re:If AI writes your code, why use Python? by Daishiman on Tuesday May 12, 2026 @03:20PM (#48113123)
They don't tend to look like that. Grab any one of the packages people use in Python at is generally well-disciplined OOP code.

There are teams of people who don't come from an engineering background who do utilize Python as a series of scripts with some extra sugar. Just because you can do that doesn't mean that you should.