VBScript best practices

If you can’t tell by now, I love scripting and coding šŸ™‚ There is nothing you can’t achieve, and no problem that cannot be resolved. But there is an art to doing it right. I start by drawing up an N-S (Nassi-Shneiderman) diagram or flow chart, and then writing it up in pseudocode, which allows me to focus on the logic of theĀ program without being distracted by details of language syntax. I choose to write VBScript because then it can then be maintained by colleagues and customers. Although now I’m starting to get into PowerShell, which is fast becoming the defacto standard. When I write a script I try and abide by several golden rules. Rob Haupt has explained them perfectly in his blog titled My five VBScript ‘best practices’. I believe that there is no point doing things half hearted. So do it properly or don’t do it at all!

Jeremy Saunders

Jeremy Saunders

Delivering customer success through tech: IT Infrastructure | Citrix | End User Computing | Platform Engineering | DevOps | Full Stack Developer | Technical Architect | Improvisor | Aspiring Comedian | Midlife Adventurer at J House Consulting
Jeremy Saunders is the Problem Terminator; the MacGyver of IT. Views and Intellectual Property (IP) published on this site belong to Jeremy. Please refer to the About page for more information about Jeremy.