
Feb. 20, 2019
4:56 a.m.
Chris Angelico wrote:
if I'd been able to ascertain which functions were pure, or at least side-effect-free, it would have saved me a lot of hassle.)
I'm not sure how useful such annotations would be in practice, though. They're only as good as the diligence of the author in using them consistently and correctly, which makes them not much better than comments. -- Greg