Re:LLVM Programmer’s Manual
by zvrba on Friday July 22, 2016 @01:20AM
(#12141855)
You're funny. gotos are used to emulate cleanup both of which you get in a more structured manner with RAII and exceptions. Rmember Apple's infamous "goto bug" in OpenSSL?
[ Parent
| on HN ]
While RAII and exceptions are better than goto's, the "goto fail" bug is not an example of that. The problem there was mismatch between indentation and parse which was a result of brace-less style and whitespace-insensitivity.
Re:LLVM Programmer’s Manual
by adamnemecek on Friday July 22, 2016 @01:36AM
(#12141900)
I'm well aware. I was talking about old school gotos, I should have probably said that.