Re:Python errors as values: Comparing useful patterns from R...
by neuromanser on Thursday November 09, 2023 @12:53PM
(#38208313)
> Some of us used to wrap php "errors" to convert them into exceptions.
Did exactly that back in the day, this comparison is flawed: PHP errors (and warnings, notices) by default went completely outside the flow of the program, and converting them to exceptions was a means of forcing developers to deck with them right away, sometimes at all.
Did exactly that back in the day, this comparison is flawed: PHP errors (and warnings, notices) by default went completely outside the flow of the program, and converting them to exceptions was a means of forcing developers to deck with them right away, sometimes at all.