Hacker News new | ask | show | jobs
by tome 1932 days ago
> Code purity isn't just for you, it's also for the compiler to be able to make assumptions about the code in order to apply optimizations

Yes, and purity is also for your collaborators (including your future self) who didn't write the code so don't understand it as well as you do.