I'm in tech sales, so not a developer. Don't do any production, music, photos or anything on my machine. I went with 32gb because I'm typically using 4-5 different SaaS programs, and am required to use Chrome as a browser. Typically have 5 windows open with 30-35 tabs across those windows.
On my 2018 with 16gb, I was constantly pressing 16gb full, and now with my 32gb I'm hovering around 22-23gb usage most of the days. The machine is so much faster with my workflow (I also got the 8-core i9 and the 5500M graphics card, since I use the built in display with a 4k 32" monitor all the time).
I'd say get the 32gb if you can afford it. But it depends completely on your workflow.