Re:Bad programming ideas that only become apparent after years
by eyelidlessness on Sunday December 27, 2020 @03:11PM
(#25553863)
I don’t know. I’m personally partial to FP, but I tend to work in languages where it’s not the dominant paradigm, and where throwing exceptions is more idiomatic than say Either types. For those cases, checked exceptions are much nicer than having no error handling semantics in the type system. At least if you generally know what kinds of error cases are likely you can guard against them.
[ Parent
| on HN ]
Re:Bad programming ideas that only become apparent after years
by blandflakes on Sunday December 27, 2020 @08:48PM
(#25555974)
Definitely agree that I would like Either types far less if the language only tossed them token support (Java's Option comes to mind).