Comment

Comment by YorkshireSeason

The purpose of effect handlers, direct-style effects etc, is to let the type-checker/type-inferencer do most of the reasoning about side-effects.

Using such techniques requires an upfront investment of learning how this works, but once that mountain is climbed, programming becomes easier, faster and less error prone in many cases.

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton