Resources are just way cheaper than developers.
It’s a lot cheaper to have double the ram than it is to pay for someone to optimize your code.
I don’t see where you’re reading that idea.
It’s a lot cheaper to double the ram ergo you do not have to pay someone to optimize your code.
Where are you getting this bizarre inverse from?
I have a very handy command in my .vimrc for this -
command! JSON setlocal filetype=json | %!jq .
Anytime I’m in a json file that isn’t formatted it’s as simple as typing
:JSON
to have it all sorted.