3 ms·
I mean I think it's fair to look askance at any environment that includes misfeatures like `On Error Resume Next`.
by emodendroket 3y ago
I mean I think it's fair to look askance at any environment that includes misfeatures like `On Error Resume Next`.
- layer8 3y agoYou mean like most shell scripts? VBA is no different from Bash here.
- emodendroket 3y agoI wouldn’t consider that much of a defense!
- MagnumOpus 3y agoOptions are good. Resuming on error can be just as much a feature or flow control paradigm as using exceptions for flow control. VBA gives users options. If you want a straitjacketed 1990s predeclared OOP language, you can use Option Strict and Option Explicit and forbid Goto statements and On Error statement. If you can deal with ambiguity, you don't need to. And of course even a a language with misfeatures is better than the VP of the IT Dev Silo giving you the choice of spending $2m and a year or doing your work by hand.
- emeril 3y agohey, I deliberately use that all the time lol