Re:LLVM Programmer’s Manual
by co_dh on Friday July 22, 2016 @09:37AM
(#12143394)
I don't agree neither :). Exceptions don't necessarily lost context. At least in Python. In my previous job, whenever a python exception raise, the code will catch it, with values of each variable, formatted in a beautiful html, and send as an email. You can never overestimate how much time it has saved us to debug. Go's approach to error handling remind me of the old COM days, while you handle error after each function call. I'm glad it's no longer popular.
[ Parent
| on HN ]
Agree! I tried to move a program from Python to Go. Completely gave up on Go after comparing two language's implementation on exception. Python is just so much easier, cleaner.
Go's implementation on JSON parsing is also.....
Even WinRT, the 2nd coming of COM supports exceptions:
Platform::COMException
https://msdn.microsoft.com/en-us/library/windows/apps/hh7104...