3 ms·
I don't exactly understand what you are suggesting. Ofcourse, I care about error and want them to be handled. Problem often is that method I am in doesn't know
by dominotw 11y ago
I don't exactly understand what you are suggesting. Ofcourse, I care about error and want them to be handled. Problem often is that method I am in doesn't know how to handle the error and have to bubble it up to a place where there is knowledge about how to handle it.
Here is Erik Meijer talking about golang exception handling
https://www.youtube.com/watch?v=a2ihmMmSfwk&t=577 https://www.youtube.com/watch?v=a2ihmMmSfwk&t=577
The golang guy doesn't answer the question properly and repeats "exceptions are not for control flow". Really disappointing answer and cringeworthy interview.