I discovered today that somehow I have become stupid.
This all came about because I decided to teach myself how to write Visual Basic scripts for Excel. Now, I have written software for a living most of my career. I have written code in assembly code for dozens of different microprocessors (all of which had their own unique and non-standard mnemonics). I have written C code for both embedded systems, PCs, and mainframes. I’ve written in Fortran (anyone remember THAT?) I’ve designed CPLDs using Verilog. I’ve even written code in BASIC (albeit a hundred years ago on a TRS-80. (Oops! Did I just carbon date myself?)
But today when I started poking and prodding around under the hood of Excel and attempting to write some pretty simple VBA scripts, I quickly found out that the past five or six years of being a manager has made me stupid. Oh, I eventually got my simple scripts to work, but it was way more of a struggle than it should have been. Frankly, I was embarrassed. I’m glad some young whippersnapper programmer wasn’t looking over my shoulder. He would have said something like, “You can’t use that variable there, Gramps! It’s out of context!”
At that point I would have had to wave my cane at him threateningly and yell, “You kids get out of my pivot table!”