ActionScript
As part of my new job I've started programming in ActionScript 3. Its syntax is similar to JavaScript and is based around the upcoming ECMAScript 4 standard. The thing that has caught me off guard the most is the "variable:type" declaration syntax versus "type variable". It's only a minor thing, but I'm amazed at some of the subconscious cut'n'paste'n'edit keystrokes I have. I find this most prevalent when writing unit test code, where often you are creating similar but varied objects. The jump to home shift ctrl right keystroke doesn't help to change the type when it's after the variable.
One of those simple things that you don't really notice you are doing it until it doesn't do what you should. Joel Spolsky had a recent article taking about usability (it's a draft so I'm not going to link to it) and one quote from it was "Something is usable if it behaves exactly as expected." Right now my finger memory isn't that useful because it isn't behaving as expected. It isn't that there is anything wrong with it, as soon as I'm back in Java land it will be very helpful, but while I'm working in ActionScript it's just plan annoying :)
Comments
Posted by: rotorglow | March 29, 2006 12:00 AM
Posted by: DanielR | March 29, 2006 10:29 AM
Posted by: rotorglow | March 29, 2006 11:41 AM
Posted by: DanielR | March 29, 2006 1:51 PM