sobrique: (Default)
[personal profile] sobrique
Today has been VBS day.

Been a bit grumpy, as when I'm concentrating on code, when I say "just a minute" that means – I acknowledge you want attention, but I’'m right in the middle of thinking about something, and will lose my train of thought if I stop right now, so please stand by.

Not "carry on talking at me, and asking me to respond meaningfully when I’m concentrating".


However this annoyance pails into insignificance:

"On Error Resume Next"

I’m modifying some code.

I have found some MONKEY has put this in, and … well, hadn't given it much thought.

It’s a great VBS hack. What it means, is if you right crap code, then the program should just BODGE ON ANYWAY.

Yeah. So … if I typo in my loop, such that it’s a runtime error (like for example, using "sleep(60000) rather than "wscript.sleep 60000") it just … skips that loop, and carrys on, neatly jumping over my "while" loops, singing "lalalaalala, no you don’t want to do that bit, I'll ignore it".

Which moron, designed a programming langage where this was EVEN POSSIBLE.

It is acceptable to have runtime errors, not crashing a program. It is acceptable when I write some error handling code, that explicitly defines the behaviour when I do this. So I can … try running a command, and if it’s not there _do something else, defined_ not just arbitrarily continue and pretend it never happened.

GAAH.
This account has disabled anonymous posting.
If you don't have an account you can create one now.
HTML doesn't work in the subject.
More info about formatting

Profile

sobrique: (Default)
sobrique

December 2015

S M T W T F S
  12345
6789101112
13141516171819
20212223242526
2728 293031  

Most Popular Tags

Style Credit

Expand Cut Tags

No cut tags
Page generated Mar. 10th, 2026 04:21 pm
Powered by Dreamwidth Studios