For a light start to the week, I was amused by
this parody review of Windows XP, written as if it was the successor to Vista. It certainly captures a lot of the reasons why I'm still on XP and have no plans to downgrade. Uh. Upgrade.
Posted on Thursday, December 13, 2007 at 9:19 AM
If you've asked someone to look for something you left at their house, would you say, "give me a call if
it's true that you found it"? No, you'd say "give me a call if you found it". So why do so many people write things like:
if (found == true)
Instead of the shorter, clearer, equivalent:
if (found)
Yes, I know, I shouldn't let refactoring get me so cranky.
This morning I started working on a new library for a new feature we'll be rolling out in the not too distant future. It is the first production code that we're developing at PH using Visual Studio 2008, which brings us C# 3.0 and Linq.
Just one morning into it, it already feels like a vast improvement. It took all of ten minutes to get the DLinq classes generated in Visual Studio; it would have taken under five if it hadn't been my first time doing it and working it out as I went. Then they were ready to use, which was also trivial. No more writing SQL or stored procedures or calling methods on a data reader to get the data out: just instantiate the DataContext (which represents the database), write the query, and it's done...