How great is the 32 GB of ram? I have a 2017 macbook pro. I don't ever develop on a desktop machine to be able to know what I'm missing out on by only having 16 GB.
I run on 16GB at work and 8 at home. At home I run into issues with large Factorio factories or if I have too many browser tabs open (tbh that's an issue with me, not with my system, but more RAM would be a workaround for it), but at work the amount feels quite luxurious. I never got close to running out even with multiple VMs running at the same time, so I don't really see the need for more than 16. Maybe specialized applications need it like machine learning or so? Though that would seem like something you'd do on a server instead of your local laptop.
Unless you're running close to full most of the time, I also don't think the extra disk caching more RAM allows for is generally worth it. I have a few GB free most of the time (both at home and at work) and that seems to suffice to cache whatever files I'm currently working with.
If you keep tabs open for days and don't open them, like me, you might want to try a tab suspending extension. There's noticable lag when I open a tab I haven't opened in hours, but my FF on Ubuntu is fine with ~100 open tabs.