Re:Meta’s Microservice Architecture [pdf]
by gordian-not on Tuesday July 11, 2023 @12:32PM
(#36683406)
I agree about the somewhat unexpectedness of exceptions, although it is much structured than gotos (you just go up the stack)
virtual polymorphism for example is completely unexpected, as well as function pointers and other constructs that in my opinion are harder to track than exceptions
Except I posit that throw/catch still suffers the same problem he speaks of. It becomes difficult to follow when and where the code will jump to an arbitrary spot. The harmful parts of goto live on. Granted, we are learning. Modern languages are abandoning the throw/catch concept.