> there's a type of person that clearly is on their last job of their career and knows it
Yup (and it's not ageism).
I'm young and stupid but forced by circumstance to practice a certain degree of respect for my own stupidity.
My philosophy is, "I write code like I expect it to outlive me".
Because sloppy work --AI generated or otherwise-- has a tendency to come back to haunt you.