Doesn't help much if you have to load a large dataset. That said, the pricing for these laptops is not horrendously out of line for what you'd pay for a Dell Precision with 32 or 64 GB. Not really.
I'm actually working with large datasets. I'm a back end developer and at any given time I'm working on multiple websites that each have databases several GBs in size behind them.
The memory pressure graph on the 8GB 13" M1 MBP I trialed was red almost the entire time and on some days I was generating nearly 1TB of SSD writes from swapping. That surprised me because I wouldn't have realized how hard it was working without running monitoring applications.
I suppose had I compared performance against a 13" 16GB M1 MBP instead of a 32GB i7, that extra memory may have yielded significant benefits, so I'm not saying 8GB is all you need. I just think most people are stuck in a 2009 mindset and are greatly overestimating how much RAM they need.
That said, if the cost isn't an issue to you, there's no harm in buying a little extra just in case.