Tons of programming tasks requires at least 32gb to be somewhat comfortable, think of having running databases, running tests in background, running simultaneously multiple docker images, virtual machines, have one or more code projects open in an IDE with LSP (whole code database needs to be in cache), one browser with 20 tabs, and maybe one or more heavy electron apps (Teams/Spotify). You really quickly reach 32gb when doing real development.
My work 64GB M1 Max Macbook Pro is consistently out of memory. (To be fair my $LARGE_ENTERPRISE_EMPLOYER reserves about half of it to very bad Big Brother daemons and applications I have no control over)
I have a 128GB M3 Max from my employer. Due to some IT oversight, I was able to use it for a few months without the corporate "security" crapware. Didn't even ever noticed this machine had a fan before the "security theatre" corporate rootkits were installed.