FYI: Stack Overflow Not Public Domain License

Stack Overflow Not Public Domain License

How often do you use a piece of code you found on the web.  Do you know if that ‘snippet’ has a copy right?  Read more ›

Posted in Review, Software Development Tagged with: ,

Design to Accommodate Change

Design to Accommodate Change

Make sure your code will be easy to maintain and adapt as it evolves.  Design to Accommodate Change. Planning for the future now is like setting up your 401k.  You can take the time to research and make educated plan of execution, or you can just wing it and worry about how things work out later.  But any serious investor will tell you. planning is the key to success.
Read more ›

Posted in Best Practices Tagged with:

The Humility Principle

It’s a common problem, especially in smaller companies—the source code is littered with grand ideas which never went anywhere.  These abandoned sections of the code were, of course, written with the best of intentions.  They were placed in high-level libraries and namespaces.  They were given bold-sounding names.  Their authors intended them to be utilized, some day, by the rest of the code as first-class shared components.  They may have even been superior in every respect. However, for one reason or another, they were never adopted by the rest of the development team.
Read more ›
Posted in Best Practices Tagged with:

Snippet – ToXmlDocument and ToXDocument

ToXmlDocument and ToXDocument Extension Class

The other day I found myself working with a XDocument and needed to convert it to a XmlDocument. The best way I found was to make an Extension Class with ToXmlDocument and ToXDocument. Now it is as simple as ToString…

Read more ›

Posted in Snippet Tagged with: , ,

Interview Notes – The Four Fundamental Object Oriented Programming (OOP) Concepts

From time to time I find myself in the hiring process. Over the years I have collected a series of Question and Answers. They are my go to notes when I am either interviewing or being interviewed. Just thought I would share a bit with you today… Read more ›

Posted in Employment, Software Development Tagged with:

Snippet – Resize Images

Resize Images

Move often than not, an image is not the size it needs to be for the intended use. Here is one of my standby snippets to resize images.

Read more ›

Posted in Snippet Tagged with:

Snippet – Auto Restart Windows Service

Auto Restart Windows Service on Rebuild

You don’t have to stop and start your service manually with each rebuild. Yes if you have installed your service from the bin folder, then a stop is necessary before you can rebuild. But that does not mean you have to go open a command prompt and stop it manually each time you wish to build with your changes. Read more ›

Posted in Snippet Tagged with:

Knowing Less is Better

Sometimes knowing less is better.

I am not talking about keeping yourself ignorant to stay out of trouble. I am in reference to a Principle known as The Law of Demeter(LOD). Read more ›

Posted in Best Practices, Software Development Tagged with:

Interview Notes – Strongly Typed

From time to time I find myself in the hiring process. Over the years I have collected a series of Question and Answers. They are my go to notes when I am either interviewing or being interviewed. Just thought I would share a bit with you today… Read more ›

Posted in Employment Tagged with:

The Nonconformity Principle

Interchangeability is a common goal for those of us who are OOP developers. When we create new classes, we often try to design them with simplified public interfaces which make them interchangeable with other classes which serve similar purposes.  In other words, we try to make our classes plug-and-playable.  It’s a good instinct to make interchangeable objects, but we often make the mistake of doing so too soon.   Read more ›

Posted in Best Practices Tagged with: