An antidote for bigheadedness: read old code you wrote.
Related Posts
Over a sufficiently long time horizon, all code you write is legacy code.
I'm intrigued to see that Google has quantified that new code is generally buggier and less secure than code that has existed in your codebase for longer: https://security.googleblog.com/2024/09/eliminating-memory-safety-vulnerabilities-Android.html
Co-Authored-By: An old Stack Overflow answer, blindly accepting the compiler's suggestions, and a linter.