Programmers will write more efficient algorithms if their employers tell them to trade time-to-market for hardware cost. Previously, it was trade hardware cost for time-to-market.
"Programmers" don't make this decision, the product owner does.
> trade time-to-market for hardware cost
Enh. I think this only exists for some programmers, who can't write good code fast.
I disagree. Engineers choose the technical stack based on the specs.
With LLMs, it's faster to ship even in a more verbose language like Go or Rust.
The classic excuse for industry-wide incompetence. The average programmer today can't write good code even if told it's an explicit priority.
The manager wants the Submit button to submit the form, they rarely care how the programmer does it. It's the programmer that chose to install the 11,000 node_modules, to use React with 3 layers of state management on top with hybrid SSR/CSR and to do Kubernetes because that's what was on Hacker News that day or whatever. And guess what, somehow the Submit button does still not submit the form 10% of the time.
Get rid of the junk and the program will be more efficient AND you'll ship quicker.