The point is that you're not fixing the problem, you're just masking it (and one could even argue enabling it).
The same way adding another 4 lane highway doesn't fix traffic long term (increasing highway throughput leads to more people leads to more cars leads to congestion all over again) simply adding more RAM is only a temporary solution.
Developers use the excuse of people having access to more RAM as justification to produce more and more bloated software. In 5 years you'll likely struggle even with 32GiB, because everything uses more.
That's not sustainable, and it's not necessary.
The same way adding another 4 lane highway doesn’t fix traffic long term (increasing highway throughput leads to more people leads to more cars leads to congestion all over again) simply adding more RAM is only a temporary solution.
How is adding more RAM a temporary solution? It would lead more workload to the CPU... which is good?
You're giving the devs too much credit. They didn't give a fuck even when we have not enough RAM. Otherwise this post won't be such a common experience.
The idea is that increasing road capacity will increase demand and basically make traffic as bas again and similarly "just add more ram"-ing will just lead to developers using less memory efficient practices leading the same situation down the line.
The RAM capacity of any PC is a publicly available information like the road capacity; AND
Electron app developers are checking info of 1. (if it's somehow available) to decide how they optimize their app. Which doesn't seems reasonable as electron apps are not games and thus not expected to use 100% RAM.
Of course the average amount of ram in computers isn't some secret. What are you on about? It's only thanks to the fact that we have gigabytes of ram these days that inefficient practices are possible. If developers didn't know that, they would have no idea that was possible. How on earth do you think developers would ever optimise software and determine their performance requirements if specs were unknown?
I'm not saying they're snooping on YOU individually (although there's a ton of telemetry these days everywhere and ram is probably a common statistic collected by software - Steam's hardware survey is public and shows millions of computer's specs. Any software you use knows your ram capacity - it's not secret. The ram capacity of newly sold systems is public is obviously shown on spec sheets)...
Seriously though, the problem is either on both or on neither. It's an additional expense on the customer though, like everything else nowadays. I personally ended up getting a super powered laptop/tablet and relying on it for all my computing needs because laptops are good enough for most use cases nowadays and desktops are limited to specific use cases.
Thinking about it though, the reason it's only limited tasks needing more power might be because everything else is electron.