I'm a rails dev and I constantly struggle with 16GB. Once you start up rails, background workers, webpack, vs code, MS teams, a database, plus your web browser you very quickly run out of memory.
I develop Django and unfortunately have to run a 4GB Windows 10 vm in the background for work, still have plenty of ram and don’t even have swap enabled.
Its not a choice because not a single item on that list can be closed and let me do my job. So rather than petitioning to replace 10 years of existing software development, I'll ask for a 32gb laptop.