I'm using 256GB machines for Clojure development in IntelliJ since 2017 and I never run out of disk space. I have 36GB of photos and 10GB of iPhone backups on iCloud Drive though.
The trick is not to mix your personal stuff, like movies, photos and music with your work stuff. Also make sure you regularly clean up the older versions of the software you use, including Docker layer caches, brew / nix packages, JetBrains IDEs, browser caches, etc. If you are not doing audio/video work, then removing iMovie and GarageBand frees up 4.5GB. Similarly Keynote/Numbers/Pages 2GB.