Your "safer reset script" is based on a programming style which is inheirently flawed and dangerous. Many people have already tried to point this out, and clearly you're not listening, so I won't waste any further bandwidth on it.
As for strict, one might note that theDamian often doesn't use strict, either. But if you put a use strict at the top of his code, most of it would work, anyway.
Most importantly, strict is there to help you learn lexical scoping. Which is the alternative to your variable resetting. So you see, these two points are actually related.
"There is no shame in being self-taught, only in not trying to learn in the first place." -- Atrus, Myst: The Book of D'ni.
| [reply] [d/l] |
As for strict, one might note that theDamian often doesn't use strict, either. But if you put a use strict at the top of his code, most of it would work, anyway.
Really? Have you tried? I have, and most of what I tried didn't work by slapping a use strict; on it. And usually I slap a use strict; on it because his code contains bugs, bugs that become instantly obvious when you slap a use strict; on them.
| [reply] [d/l] [select] |
I have very little respect for people who've viciously attacked me simply because they don't think my improved, safer reset script is a good idea ....
Let me assure you that most people are not downvoting you because of one sloppy piece of code.
In any case, I hope you're in therapy.
There's a certain attitude in that sentence that might more adequately explain your negative XP.
| [reply] |