News for hackers. Stuff that matters.
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.
Re:LLVM Programmer’s Manual by tkinom on Friday July 22, 2016 @10:57AM (#12143911)
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.....

Re:LLVM Programmer’s Manual by pjmlp on Friday July 22, 2016 @02:53PM (#12145821)
Even WinRT, the 2nd coming of COM supports exceptions:

Platform::COMException

https://msdn.microsoft.com/en-us/library/windows/apps/hh7104...

Re:LLVM Programmer’s Manual by IshKebab on Sunday July 24, 2016 @01:22PM (#12153898)
Please. Python doesn't even allow for specifying which exceptions a function throws.