phpc.social is one of the many independent Mastodon servers you can use to participate in the fediverse.
A server for PHP programmers & friends. Join us for discussions on the PHP programming language, frameworks, packages, tools, open source, tech, life, and more.

Administered by:

Server stats:

800
active users

Larry Garfield

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.

@timwolla @Crell I assume he wants people to elaborate on their types rather than throw.

@Crell 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)