Here’s an interesting post from an industry legend on exceptions
https://www.linkedin.com/posts/bjarnestroustrup_c-exceptions-for-smaller-firmware-khalil-activity-7243244721911865344-J7yy?utm_source=share&utm_medium=member_ios
For those without access, Stroustrup says
It’s long and goes into great technical detail of implementation and use patterns but the essence is:
* Using C++ exceptions you can get cleaner, more maintainable, smaller and faster code than if you use explicit error codes. You can do so even for tiny embedded systems. This is backed up with impressive numbers.
* The current C++ exception handling implementations are appallingly bad. If you are on and ARM using Clang, you can download a library with a much better implementation (a GCC version is in the works). And it’s free.”
Not saying Go SHOULD add exceptions but reading others opinions on error handling is always worthwhile.