2 Monate her • •
And once again, some library using exceptions for non-exceptional cases means I cannot extend it in a clean fashion and will need to grossly duplicate its logic. Fun times.
Just say no to exceptions.
#PHP #Programming
on that note, imagine.. “The catch functor”.
Essentially it is like Haskell's Either but instead of type check it could be using try-catch?
(Edited, it does not have to be a monad)
Diese Webseite verwendet Cookies. Durch die weitere Benutzung der Webseite stimmst du dieser Verwendung zu. https://inne.city/tos
Tim Düsterhus
Als Antwort auf Larry Garfield • • •𝐭𝐡𝐠𝐬
Als Antwort auf Larry Garfield • • •on that note, imagine.. “The catch functor”.
Essentially it is like Haskell's Either but instead of type check it could be using try-catch?
(Edited, it does not have to be a monad)