RSS

Tag Archives: programming

Constants and Errors

Still reviewing that code base and finding more bad patterns for use of constants, this time for error messages.   This is another “don’t do this” post. Read the rest of this entry »

Advertisements
 
Leave a comment

Posted by on November 27, 2018 in Coding, practice, Uncategorized

 

Tags: , , ,

Constant Abuse 2

Some programmers believe that constants are the source of all goodness, because it means in the future that everything will be malliable.  Particularly programmers paid by the hour.  This is a mistake.  Readibility suffers if constants are abused.  I am reading some code today which exemplifies this. Read the rest of this entry »

 
Leave a comment

Posted by on November 14, 2018 in Coding

 

Tags: , , ,

The Urge to Merge

Concurrent development of software in a team relies on being able to merge the changes from each person successfully.  Experienced developers will already know this, but there are theoretical limits on how effective merging can be. Read the rest of this entry »

 
Leave a comment

Posted by on December 16, 2017 in Coding, practice

 

Tags: , , , ,

Abstraction and Encapsulation

Abstraction and encapsulation are opposite sides of the same coin, and essential to good object oriented software design.  Why the, is there a tendency of some programmers to go in exactly the opposite direction?  This trend and its implication is discussed below. Read the rest of this entry »

 
Leave a comment

Posted by on November 22, 2017 in Coding, Design

 

Tags: , ,

Extreme Precision Programming

What is “Extreme Precision Programming”?  It is a style of programming that aims to perform the intended function, while being very noisy about anything that deviates from the intended mode of behavior.  It is nothing like a complete methodology, but rather a philosophical leaning to guide choices at the implementation level. Read the rest of this entry »

 
Leave a comment

Posted by on July 12, 2017 in Coding, Design, practice

 

Tags: , ,

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 »

 
Leave a comment

Posted by on July 3, 2017 in Coding, Design

 

Tags: , , , ,

Source Management – 7 Rules

Those new to a source code management system tend to make a few predictable mistakes. These 7 rules are helpful to be learned right away and form a good practice from the beginning. I also have seen some experienced programmers who could benefit from following these rules. Read the rest of this entry »

 
Leave a comment

Posted by on December 21, 2015 in Coding, practice

 

Tags: , , ,