2 ms·
Yes, but pure means different things in different contexts. For language designers, purity is about the language itself, not what you're doing in it. E.g. Has
by mrkeen 4y ago
Yes, but pure means different things in different contexts. For language designers, purity is about the language itself, not what you're doing in it. E.g. Haskell is still a pure language even when you're reading and writing files. I don't think it's as useful a definition than the lay definition of purity.
- valenterry 4y agoI don't think that's really true. It's called "programming". Even Haskell is not a 100% pure-functional language since you have escape hatches. I think we should focus on what you do with the language, hence "functional programming" is pretty clear as a term no?