Archive for June, 2008
Consider if you actually need a variable…
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
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:
Simplicity! Beauty! And it works!