I mean, that's if you're lucky and the development team was relatively competent.
I mean, that's if you're lucky and the development team was relatively competent.
(BTW i don't see how you can have separate files, using modules or require etc would prove difficult to have split files, rather than one)
The old-fashioned way of embedding scripts directly is really wasteful, I agree.
Build systems exist, but that doesn't mean they are used everywhere or that all features can be integrated into them. The same goes for static analysis tools, dynamic analysis tools, perf optimization tools, security vulnerability testing tools, unit testing, automated integration testing, etc. -- they exist, but their coverage is far less than 100%.
Yes this happened even at whatever company you think is a paragon of engineering best practices and modern development.