Side Effects vs. Promises | Blue Sky On Mars
Menu and widgets About Me / Contact I am a software developer for Khan Academy . I am best known for founding CommonJS and TurboGears, for my work at Adobe and Mozilla, and for the 11 Quests children's fantasy series. You can read more about me at kevindangoor.com where you can also find out how to get in touch with me. Recent Posts Get new posts in your email Enter your email address to subscribe to this blog and receive notifications of new posts by email. Email Address Side Effects vs. Promises Haskellers have been isolating their side-effects from their pure code for decades, but most people write code in languages that allow ad hoc side-effects anywhere. In a lot of cases, these side-effects are practically a part of the public API — they put restrictions the way the code can be used, often obscurely, and have effects that are observable to the caller. It helps a lot to acknowledge this and explicitly treat them as a part of your public API.Read full article from Side Effects vs. Promises | Blue Sky On Mars
No comments:
Post a Comment