Switching Contexts

Posted by Jake Good
on Jun 13, 07

I tell you what… I’m having a tough time at work keeping up with contexts of projects…



Especially when it comes to operating systems, syntax, and project status…



I’m constantly swapping back and forth between OS X and Windows XP … for a Ruby on Rails project and a .Net project respectively…



With the differences between ASP.Net and Rails… combined with C# syntax and Ruby syntax… combined with keyboard layouts and shortcuts in the OSes… I’m going to go nuts!



I ended up doing this in Ruby today, I knew I was screwed:




def my_cool_function(int count)
TopScore topScore = TopScore.new()
topScore.points = count
topScore.save
end


(hint: parameter typing and type declaration for the variable)



Or when I did this in C#




List things = collector_class.GetMyThings();
things.each { |thing| thing.save }


(hint: .each iteration)



Yikes… and another thing… using Windows on a MacBook Pro is nice for a lot of reasons.. but using having a different key for keyboard shortcuts (Open Apple vs CTL) is tough… and then having the function key on the far bottom left makes me want to hit it (the normal spot for CTL on a Windows keyboard).



Talk about context switching in relation to efficiency… it’s tough!

Comments

Leave a response

Comment