News for hackers. Stuff that matters.
Re:Simon Peyton Jones – Haskell Foundation Podcast by sterlind on Sunday October 16, 2022 @05:55PM (#33227507)
In addition to the type system, I'd also add purity. If you have a function f :: a -> b, there is literally no way for f to read anything besides a, or affect anything besides returning b (aside from unsafePerformIO, which you can ban from your code.) so if you want to refactor f, you know exactly from the call site everything that needs to be updated.

all state is factored, so it can easily be refactored.

There are no comments on this comment yet.