Managing Side Effects: A #JavaScript #EffectSystem in 30 Lines or Less https://
Managing Side Effects: A JavaScript Effect System in 30 Lines or LessIf you look at the source code of a typical application, you will likely find business logic tangled with database calls, HTTP requests firing off in the middle of validation rules, and try/catch blocks sprinkled here and there. The biggest casualty of this coupling is testability…