Archive for November, 2008

Nov 14 2008

Windows 7 is awesome!!!

Published by Niyaz PK under Microsoft, Review

I am not talking about the bells and whistles.

I have been using Windows 7 for the past few days and it looks like this is going to be a great Operating System from Microsoft.

The UI looks similar to that of Vista, but with a lot of tweaks. The new taskbar is exciting as well.

The main feature of Windows 7 I liked is that it lets you do your work the way you wish and it gets out of your way. Windows 7 makes doing your job easy. Performance wise it is better than Vista. Hardware support is also great and I did not have to install any drivers in my Acer laptop.

There are many other exciting features in the software. You can read more about these all over the web. Also remember to visit the Windows 7 development blog. The blog tells the exciting story of building a great operating system. It is a must read blog for programmers/designers.

Windows 7 is already getting a huge amount good press. People are giving positive reviews. Microsoft should be excited by this.

Currently a pre-beta test build for windows 7 is in circulation in the file sharing networks. You will have to do a bit of hacking to get the new taskbar enabled.

Download Windows 7 and check it out. You will surely fall in love with it too.

10 responses so far

Nov 10 2008

Don’t catch exceptions if you are not going to handle them

Published by Niyaz PK under Programming

It is a bad idea to have an application with exception handling like this:

catch(SQLException sqlexception)
{
        //This is not supposed happen
}

This is not supposed happen?!!
Seriously?

We all know that exceptions are not supposed to happen. Still we catch them so that if they do happen, we can take some steps to prevent additional damage.

It is good to handle exceptions and give meaningful messages to the user. At the same time, avoid using phrases like “An error has occurred” in messages. Tell what error occurred exactly, and suggest some steps to solve the issue. Try sending the stack trace to some log file so that somebody can clearly understand where and why the error occurred.

Exception handling is not the art of concealing every single error from the user and pretending like no error occurred.

6 responses so far