Andrew Petersen (a lecturer in computer science at the University of Toronto at Mississauga) has written a very good post about deciding whether or not to attend grad school. If you're starting your final lap as an undergrad, now's the time to start weighing your options, and Andrew's post is a good guide to what you should be thinking about.