Clean Code

Software engineering is evolving exponentially.  It feels like every other week there's a new language or framework being released.  No matter what technology you use...  the one constant thing that will ensure you are a great developer is the ability to write clean code  If you don't have a solid understanding around architecture, design patterns and general good software development principles you'll always write crap code, regardless of whats currently in fashion.  

In the 'Clean Code' section, you will learn about the fundamentals of how to craft solid software.  There are countless books and websites out there which go over this stuff.  In this section you will learn practical tips that I have used and found beneficial in the real-world.

The basis behind a lot of my recommended techniques is simple.  Uncle Bob summed up my thinking around good code.

The goal of software architecture is to minimize the human resources required to build and maintain the required system.

Martin, Robert C.. Clean Architecture: A Craftsman's Guide to Software Structure and Design (Robert C. Martin Series)

This sounds a very simple statement, however, if you apply it to every decision you need to make it will have a huge impact on you.  Any decision that can be solved in an elegant way, is better than an approach that adds complexity, unneeded knowledge about the code base or makes the design more rigid.  

You're free to agree with my thought process or not.  With over 200 web projects behind me, over 20k unique visitors a month who read this site and now over 1,500,000 million page views, it seems that there are a few people out there who have found some benefit with this approach... so without further waffling let's get on.



Tips For Writing Better C# Code

This section contains tutorials that will help you write better code.  Over the years I've spent hundreds of hours reading books, trying out different software and experimenting with different ways to be more productive.  In this section, I share the best of these experiments with you.  

Code Reviews

If you're not doing code reviews on your team, you should be.   I won't lie, when you first getting feedback from code reviews it's very likely you will hate the process  I've been giving and receiving code reviews for over 5 years and they do work.  Code reviews will help you improve your coding skills and increase the code quality of your project.  This section goes over sool patterns, tools, and advice on how to start using code reviews on your team


In this section, you will learn about Stylecop, what it is and how to install and use it on your project.  When you write code just for yourself, life is easy.  When you write code within a team codebase you need to agree on a workflow so your codebase looks like it's written by one person.  Stylecop will help you achieve that.


Resharper Tips

Resharper is an essential tool that will help you write better code.  in this section, you will learn to make the most out of ReSharper.  You will learn some useful shortcuts as well as get an insight into some features that are super cool but are turned off by default.

Back to top