>>843590sure, if you're making something artisanal or cutting edge, where the part you're optimizing *is* the product.
but optimizing isn't "always worth it" because some (most) programs are bottlenecked somewhere, (either in execution, or in design - Quake doesn't need to run faster than 200fps on a laptop), and optimization, fundamentally, is a hack - it's making your program more specific, particular and brittle, less compatible, more opaque. "optimization", in the abstract, without a specific hardware target or performance metric in mind doesn't even make sense as a concept, at that point it's just code golf / obfuscation exercise.
but what people complain about when they say "software isn't optimized these days" is that launching a text editor makes their fans spin, or that you can't open a couple dozen browser tabs at the same time even though all it's doing is displaying text and pictures. or why a 2d metroidvania dips below 60s fps.
my disagreement is with the framing of this as "lack of optimization" in software, as this actually plays into the idea that making software less slow requires some extra effort, knowledge, skill or smarts. it doesn't.
our hardware was literally designed to run typical code as fast as possible, the hardware optimizations were *in response* to typical programming patterns. if you just program like you're doing it out of a mid 90s Turbo pascal textbook, your program will run fast as fuck.
the rot with software bloat is completely elsewhere - there's a kind of weird obscurantist orthodoxy around the "proper way to write software" that makes software actually harder to write *and* slower, driven in equal parts by academic brainrot, corporate org structures, and the logic of first-to-market churn, and that deserves unpacking against the red herring of "programmers too lazy to optimize", or that software should be more artisanal or whatever