Yeah same. The structure makes no real sense and when digging into the code it reads like I'm the first human to look at it.
I'm too young but I imagine assembly programmers were feeling the same when automatic code generation by compilers took over. Very weird.
That's how Ai generated code is. I am almost convinced that Models are intentionally taught to write obtuse code because AI companies don't want us to write code at all