All these things work with 8GB RAM. macOS uses all available RAM aggressively, so if you have 32GB RAM it will appear as what you are doing requires 32GB RAM, which is not the case.
On my machine, if it goes more than 5G into swap it starts to become less responsive.
It really depends on your usage patterns. VM abusers and people who need to keep an eye on more than one project at the same time (as in multiple IDEs) can't do with 16 Gb.
And please don't tell me to start closing software, I'm willing to pay for more ram to have everything handy. Except... I can't.