If you only knew how the enterprise space does stuff you'd realize how little a priority maintainability is.
I'm grateful we had Java when this stuff was taking off; if any enterprise applications were written in anything else available at the time (like C/C++) we'd all suffer even more memory leaks, security vulnerabilities, and data breaches than we do now.