DECOUPLING CODE

SERVICES, INTERFACES & SEPARATING ASSEMBLIES. One thing you realise the more you write code is that the less “moving parts” you have the better or to put it another way the more you put your moving parts into one contained place the better. Pushing items which change or where there will be change in the […]

Read More DECOUPLING CODE

LINQ TRINKETS

LINQ EXAMPLES. LINQ is probably one of the main reasons why I’ve stuck with C#. It’s such a powerful in memory data manipulation namespace in dotNet and the main reason why you can abbreviate tens of lines of code into one. I’ve accumulated a few queries which I use regularly which I hope you may […]

Read More LINQ TRINKETS

FROG IN A WELL & EVENT HANDLERS

Being a doctor who codes is not as romantic as you would think. You try hard to keep consistent with development but you end up in peaks and troughs of coding rather than a preferred consistent flow. The Surgery work is phenomenal and I’m frantically trying to clear the work load to spend time coding. You have your […]

Read More FROG IN A WELL & EVENT HANDLERS

RIGHT TOOLS FOR THE JOB

SIMPLE CSV MAPPER. I had an evening yesterday to do some coding for another GP Surgery and it made me understand it’s not a matter doing the best possible application which is loosely coupled, well designed and future proof but using the right tools for the job. I was asked by Tom Brownhill in a […]

Read More RIGHT TOOLS FOR THE JOB

DELEGATES AND LAMBDAS

I’m getting into really understanding about delegates and thought I’d share my thoughts around this. I’m just touching the surface, but event driven development is something I’ve wanted to do for sometime. In this basic tutorial I’m trying to address the following simple problem. “I would like to work out if one value is greater […]

Read More DELEGATES AND LAMBDAS