Side Effects Are a Public API
Offered By: Strange Loop Conference via YouTube
Course Description
Overview
Explore the concept of treating side effects as part of a public API in this 38-minute conference talk from Strange Loop. Dive into techniques for isolating side effects from pure code, even in languages that allow ad hoc side effects. Learn how to represent side effects as "intents to perform an action," combine them with pure code, and write unit tests without mocking. Discover the Effect library for Python, which provides tools for implementing these concepts. Compare the ideas presented to the Extensible Effects system in Haskell and gain insights into making code more easily testable. Join Christopher Armstrong, a seasoned Python developer and Twisted framework contributor, as he shares his expertise in functional programming and discusses the potential benefits for both Python and Haskell developers.
Syllabus
Introduction
Intrinsic Side Effects
Testable Side Effects
Do decorator
Test API
Twisted Library
Abstracting Over Effects
Free Monads
Conclusion
Questions
Taught by
Strange Loop Conference
Tags
Related Courses
Artificial Intelligence for RoboticsStanford University via Udacity Intro to Computer Science
University of Virginia via Udacity Design of Computer Programs
Stanford University via Udacity Web Development
Udacity Programming Languages
University of Virginia via Udacity