Head.SmackOnTable();

Contains Nuts.

Refactoring Made Easy with Resharper 4.0

without comments

Yes, yes, I know that Resharper 4.0 is still in the pre beta crappyness muchos error stage:

image

But I just love Resharper too much, its the best tool around for speeding up development with Visual Studio. If you don’t have it, I suggest you go grab it now!

Anyway, back to my point with refactoring. I am writing a simple website (maybe with facebook capabilities, not sure yet) to display random quotes from GLaDOS – the senile deranged computer from "Portals" – I’m sorry if you don’t like her, I think she’s great, with excellent quotes such as

The Enrichment Center promises to always provide a safe testing environment. In dangerous testing environments, the Enrichment Center promises to always provide useful advice. For instance, the floor here will kill you. Try to avoid it.

And my favourite:

Did you know you can donate one or all of your vital organs to the Aperture Science Self Esteem Fund for Girls? It’s true!

Anyway! Keep going off a tangent. Resharper speeds up development of an application, and the way I seem to work, is I write the code, then refactor it to make it all shiny and proper. We go from this:

image

To this:

image

Via:

image

And other assorted Resharper menu items – the quickest (I find) is to use Control-Shift-R which will allow you to dynamically use a "Refactor this" menu that will pop up, and give you only the valid things you can do with Resharper (instead of a very large list with things greyed out, like in the menu).

Im currently running Resharper Nightly build #783 – it dosent seem too bad, but it still has errors. Unlike Derik, I cant leave Resharper (arguably the love of my life) alone, I want to feel her up and touch her inappropriately. Im not that fussed by the fact that she doesn’t have manners, or farts uncontrollably in bed, I still love her.

Share and Enjoy: These icons link to social bookmarking sites where readers can share and discover new web pages.
  • DotNetKicks
  • DZone

Written by Monty

April 28th, 2008 at 1:53 am

Posted in .NET,Bad Humour,Misc

Tagged with ,

Leave a Reply