Category: Tools

  • Eclipse, Visual Studio, and Ward Cunningham

    As Rich Main blogged in mid-October, Ward Cunningham recently left Microsoft for a job at the Eclipse Foundation. I found this especially fascinating considering that, after over 4 years of developing with Java, a job change recently required me to begin using C# for automated testing. The pain of doing so has surprised me.

    For some odd reason, I assumed that a product like Visual Studio made by a giant like Microsoft (and with a whopping $350+ price tag) would be at least comparable to, if not superior to, Eclipse (which, of course, is free). I was woefully incorrect. Some of the best features of Eclipse, such as auto-refactoring, are just not available. Other features have been implemented, but in a castrated form. It’s almost as if Visual Studio tries too hard to make things easy to do, and in the process destroys a great deal of the flexibility which made Eclipse so pleasant to use.

    After using Visual Studio for a week or so, I gave up on it and have switched back to Eclipse and an open-source C# plugin which I found. The plugin offers syntax highlighting and not much else, so I’m essentially writing C# in a souped-up version of Notepad, but it’s still better than trying to make my way around VS. Maybe I just haven’t inculcated the Microsoft way of doing things yet, but I’ll take Eclipse and Java back any day. I’m sure Visual Studio is useful in many cases, but for writing automated tests against APIs it just stinks.

    Ward must feel the same way.

  • Discriminate against mice… use AutoHotkey

    Let’s face it, mice are slow. Mice are very slow. And mice cause bad things to happen to your wrist.

    Keyboards, on the other hand, are fast. And you barely have to move to get things done on them.

    Discriminate against mice. Use AutoHotkey.

    AutoHotkey is a free utility which allows you to define global hotkeys to do all sorts of nifty things. Using AutoHotkey scripts (which are outrageously easy to write) you can script everything from iTunes to your automated tests. For example, I currently have my system setup so that when I press Windows-G, a new browser window is opened and sent to Google. When I hit Windows-F9, a random image is selected from a specific folder and set as my Windows background. When I hit Windows-T, the automated test suite for the current product I’m testing is executed.

    Time savings? Yep. Less stress on your wrist? Absolutely. Big kewlness factor? Booyah.

    Visit AutoHotkey’s web site to download the utility. You can also visit the message board for free scripts which do all sorts of nice things. For example, I’ve found this iTunes script to be quite useful.