4 ms·
That sounds kind of funny. Where do you go on error? One time I had to debug this incredibly obfuscated Word Basic subroutine. It was such a mess of gotos (d
by Stormbringer 16y ago
That sounds kind of funny. Where do you go on error?
One time I had to debug this incredibly obfuscated Word Basic subroutine. It was such a mess of gotos (deliberately so) that the company that wrote it for us thought they had us over a barrel and could charge us like a wounded bull.
That is, until I showed my cow-orkers the superior technology of "paper, scissors and sticky tape".
- Luyt 16y agoON ERROR GOTO REDMOND
- michael_dorfman 16y agoRedmond wasn't even on our mental map in those days; Windows was still at 3.11, and NT hadn't been released. The only thing we used PCs were good for was to hold our 5250-emulation cards...
- Someone 16y agoWhere do you go on error Hell, Arizona or any other village with that name. Real C# code can be like this: if(John is evil){ goto Hell}; (http://msdn.microsoft.com/en-us/library/scekt9xw%28v=vs.71%29.aspx http://msdn.microsoft.com/en-us/library/scekt9xw%28v=vs.71%2...)
- michael_dorfman 16y agoGOTO HELL showed up with predictable frequency. I don't recall if he used it for errors, though.
- Gibbon 16y agoWhich Hell would that be? The one in California, Michigan, the Cayman Islands or Norway?