News for hackers. Stuff that matters.
Re:If AI writes your code, why use Python? by sophacles on Tuesday May 12, 2026 @02:09PM (#48112000)
There are plenty of python bugs from mis-indented code. Particularly given multiple parts of a flow that "else" can apply to.... for/else, while/else, if/else, try/else and so on. It happens quite often in python codebases I've seen.

Also, good automatic formatters (gofmt, rustfmt, etc) also indent along control flow lines, so without the braces you just changed a syntax error into a "hmm, this is acting really strangely" bug-hunt by using python.

There are no comments on this comment yet.