The ones who do that I've found to be less experienced. Once they've had to deal with their own bullshit, they tend to grow out of it. Even you don't know what that code you wrote a year ago is doing.
Yeah, the first couple of "I wish I could go back in time to my past self and punch that smug asshole right in the mouth for being too smart for my own good" moments cure that out of you, usually.