Now listen here you little shit
Yes, and so can most experienced developers. In fact unmaintainable human-written code is more often caused by organisational dysfunctions than by lack of individual competence.

In my experience there’s usually a confluence of individual and institutional failures.

It usually goes like this.

  • hotshot developers is hired at company with crappy software
  • hotshot dev pitches a complete rewrite that will solve all issues
  • complete rewrite is rejected
  • hotshot dev shoehorns a new architecture and trendy dependencies into the old codebase
  • hotshot new dev leaves
  • software is more complex, inconsistent, and still crappy
  • That’s one of the failure modes, good orgs would have design and review processes to stop it.

    There are other classics like arbitrary deadlines, conflicting and shifting requirements and product direction, perverse incentives, etc.

    I would even say that the AI craze is even a result of the latter.

    Yeah, certain code developed organically (aka shifting demands). Devs know the code gets worse, but either by time or money they don’t have the option to review and redo code.
    Yes. But the important thing is that now disfunctional organizations have access to tools to write unmaintainable code really fast.
    Not in my case. I dont write spaghetti code, i write fettuchini code
    I want to write gnocchi code, where each little nugget is good on its own and they still blend together perfectly in the sauce. But I still end up with mashed potato-code if I don’t watch myself.
    Every bad decision in my code bases were because I didn’t have enough time to do things the right way