Intention Revealing Bools

Saturday, July 02 2016 code-gardening

When you have any non-trivial condition - whether in an if, while or until statement - move the condition into a well named local bool variable to aid in readability. This is another in my series of posts on Code Gardening - the practice of making small improvements as you see them while you are working.

Read more »

Sharpen The Saw #6

Monday, July 04 2016 sharpen-the-saw

In this edition: Working with Github “Flow”, Visual Studio Update 2 goes CTP, classic books that every developer should read, Oracle is killing the Java Web plugin, and a presentation on Hacking building elevators.

Read more »

Sharpen The Saw #7

Monday, July 11 2016 sharpen-the-saw

In this edition: You suck at TDD; how to go faster by going slower; Ninject for dependency injection; pushing through to project completion; security improvements for Gmail; and a video of a singing hippo.

Read more »

When (not) to use Var

Saturday, July 16 2016 csharp

The var keyword in CSharp can be tremendously useful - but for some, it’s still a source of confusion and something to be avoided at all costs. Here’s my take on when you should use var - and when you should not.

Read more »

Sharpen The Saw #9

Monday, July 25 2016 sharpen-the-saw

In this edition: When to use Dependency Injection; Unit testing made better with Fluent Assertions; 10 habits to adopt in 2016; Forcing passwords considered harmful; and a video on SOLID deconstruction. (For those keeping count, there was no #8.)

Read more »

Don't work too hard

Saturday, July 30 2016 code-gardening

Don’t write more code than is necessary to get the job done. This is another in my series of posts on Code Gardening - the practice of making small improvements as you see them while you are working.

Read more »