RSS

Tag Archives: design

When are “best practices” less than best?

A “best practice” is a heuristic which is used to guide early stages of a project, in order to set some patterns.  When should you use them?  More important: when are you justified in ignoring a best practice? Read the rest of this entry »

Advertisements
 
Leave a comment

Posted by on July 3, 2017 in Coding, Design

 

Tags: , , , ,

Incremental Development

I happened across this excellent and perfect depiction of incremental development.  The image addresses on of the key flaws in thinking that lead some agile projects to fail.  So let’s discuss a bit. Read the rest of this entry »

 
1 Comment

Posted by on February 19, 2016 in Coding, Design

 

Tags: , , , ,

Don’t Fear the Lowly Static Method

When people first learn object oriented programming (is there any other way) they seem to want to abandon all non-member methods (such as static methods) as being anti-object-oriented. This is foolish. There are times for objects, and times for static methods. Read the rest of this entry »

 
Leave a comment

Posted by on October 29, 2015 in Coding, Design

 

Tags: , ,

Specifying Business Hours

Long ago I worked on a project where we needed to specify the hours that a business was going to be open, and to account for all the various difficulties around holidays and other special days. This is what we came up with and it still stands today. Read the rest of this entry »

 
Leave a comment

Posted by on September 21, 2015 in Coding, Design

 

Tags: , , , , ,

Security Absolutism is the Enemy of Security Improvement

Security is an important topic and everyone knows it.  This post is about a curious social behavior around implementing security procedures that often works against incremental improvement of security. Read the rest of this entry »

 
Leave a comment

Posted by on April 9, 2014 in Design

 

Tags: ,

Robust Web Application Initialization

When a web based application starts up, it should do so carefully to avoid a number of problems.  This post outlines the problems you might run into, and a list of coding preparations that can be made to avoid these problems. Read the rest of this entry »

 
Leave a comment

Posted by on January 13, 2014 in Coding

 

Tags: , , , , ,

Error Message should be clear, plain, and direct

This post is about a real error message I received and puzzled through.  Luckily, because I was working with open source code, I was able to see a copy of the source, and only then did I understand what the message meant.  An error message should not require you to know and understand the source, in order to understand the message, and I think this is the root of the mistake that many programmers make. Read the rest of this entry »

 
1 Comment

Posted by on August 24, 2013 in Coding, Example Code, Poor Error Msg

 

Tags: , , ,