|
|
|
|
|
by layer8
1748 days ago
|
|
> see what kind of trouble Java gives you, for example. I program a lot in Java, and the only trouble there is the lack of support for sum types and/or variadic type parameters in generics (i.e. to express functional interfaces that can throw an arbitrary number of checked exceptions, as a type parameter). That’s the only pain point for me and is something that could be fixed. In fact, the interplay with control structures is exactly what I was referring to by
syntactic sugar. Indeed it also concerns the type system. But let’s talk about that, not about exceptions good/bad or error values good/bad. That’s too simplisitic. |
|