Head.SmackOnTable();

Contains Nuts.

Archive for June, 2008

Consider if you actually need a variable…

without comments

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.

Written by Monty

June 16th, 2008 at 6:08 pm

Posted in .NET

Tagged with , , ,

Resharper 4.0 is great

without comments

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!

Written by Monty

June 3rd, 2008 at 12:44 pm

Posted in .NET, Misc

Tagged with