I was building an API to automate MS Access and started with VBScript, because I tough it would be more simple. Even with no built-in include support, no true test framework, the code was pretty simple. The problem emerged at the time of using the resulting API…
VBScript:
GetControl(GetForm(myApp, "Contact"), "Name").Value = "test"
= ugly
Now with the help of ruby win32ole module and some magic…
Ruby:
my_app.contact.name = "test"
= beautiful
If you haven’t given ruby a try yet, I suggest you do ASAP with anything: test, build script, code generation, just one time and I guaranty you’ll be amazed.