RSS

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: , , , ,

Is Non-existence an Error?

You call a method to retrieve information about an object with a  particular ID, but the record does not exist.  Is this an exception?   Or not?  It is hard to answer. Read the rest of this entry »

 
Leave a comment

Posted by on June 29, 2017 in Coding

 

Tags: , ,

Lots of Folders != Project more Organized

Making a development project with lots of folders does not mean that the project is more organized.  However, there is a seemingly irresistible desire to make a folder for every possible purpose, and then put the one or two files that fit in there, all in the name of keeping the project organized.  This might make the programmer feel good, but it is a large pain for anyone new who has to join the project or review the source for any reason. Read the rest of this entry »

 
Leave a comment

Posted by on May 18, 2017 in Coding, practice

 

Tags: , ,

Jungles and Ski Gloves

Programming is an act of design, and in order for a programmer to do the job, they need to have a thorough understanding of the actual customer and actual situation.  An abstraction will not do, otherwise, it is like asking someone who lives in a jungle to design a pair of ski gloves. Read the rest of this entry »

 
Leave a comment

Posted by on March 4, 2017 in Design, Uncategorized

 

Answer Question by Updating Manual

Writing code, writing the manual, supporting the product, and testing the code all go hand-in-hand.  When I get a question on the product, it is an opportunity to improve the manual Read the rest of this entry »

 
Leave a comment

Posted by on January 9, 2017 in Uncategorized

 

GIT Essentials

This post contains a quick reference to the commands you need to know to use Git, the source management system. I assume you already understand the concepts behind source management. This quick reference is to the commands to use. Read the rest of this entry »

 
Leave a comment

Posted by on January 7, 2017 in Uncategorized

 

Prefer JSON over XML for Data Structures

If you are going to exchange data structures between programs you have many choices.  Of these, JSON is the best choice in general, and specifically a better choice than XML, and this post explains why. Read the rest of this entry »

 
Leave a comment

Posted by on June 1, 2016 in Design

 

Tags: , ,