by prydt · 2mo ago · 0 comments
I'm really interested in programming language design and ergonomics. What niche PL features would you like to see have more adoption?
I'm also a fan of effect systems, although I haven't used them as much. Having an IO type in Haskell is great, but the ergonomics aren't (among other things, you get async-like function coloring). Effects seem like a much nicer, more composible way to get the same benefits.
Exceptions allow more flexibility in separating the success-case program flow from the error-case program flow, compared to return codes or union return types. Unchecked exceptions, however, have the same drawbacks as dynamic typing does. Checked exceptions are the static-typing equivalent.
This makes it easier to split raw inputs from validated inputs and delimiting where they are used in the code.