Consider if you actually need a variable…

Posted by Monty on June 16th, 2008

Take this scenario, you need to call a function, so you do the following:

I basically needed to call GetCustomAttribute(true) (if you know a better way to check custom attributes, please let me know!). But then I had an epiphany. Do I really need the trace and frame objects, or can I just do the following:

Which does exactly the same thing, but is shorter, and is easier to read and follow!

I love simplicitiy.

Resharper 4.0 is great

Posted by Monty on June 3rd, 2008

Im gunna do a full post about this later, but for the time being, its time I declared to the world that I love Resharper 4.0 and im going to marry it.

A reason for this:

WindowClipping (2)

WindowClipping (3)

WindowClipping (4)

Simplicity! Beauty! And it works!


Copyright © 2007-2010 Muntedhar Alhakim. All rights reserved.