RSS

Context Error Reporting

One of the biggest mistakes I see programmers make when writing an error message is to forget to include details about the context into the message.  The message effectively “assumes” that the reader knows the context, but that assumption is not always valid, and the error message can fail communicate. Read the rest of this entry »

Advertisements
 
Leave a comment

Posted by on April 20, 2018 in Coding, Design, Poor Error Msg

 

Tags: , , , ,

Git Branching

I found a lot of the documentation is incomplete and only useful to those who already know how to do it.  Plus, they usually are based on unrealistic scenarios.  Here are the notes that are useful to me to make and control branches. Read the rest of this entry »

 
Leave a comment

Posted by on February 1, 2018 in Coding, practice

 

Tags: , , ,

Caching for Chrome

One of the biggest questions I see posted on internet discussion boards is “Why didn’t Chrome get the recent file?”  By default, Chrome is more aggressive on it’s caching than either Mozilla or IE.  Here are some answers to these questions. Read the rest of this entry »

 
Leave a comment

Posted by on January 29, 2018 in Design

 

Tags: , , ,

Software is Clutter-Prone

Software will always increase in amount and size, and that includes not only things that are needed, but unneeded things as well.  Unless you fight diligently against it, code will tend to get more and more cluttered. Read the rest of this entry »

 
Leave a comment

Posted by on January 4, 2018 in Coding

 

Tags: , , ,

Excessive Branch Use Causes Technical Debt and Increases Risk of Bugs

Agile practitioners already know that technical debt is that accumulation of unfinished work can cause projects to be late late late.  Building up a lot of technical debt is a problem because the debt needs to be payed before you can ship.  One way that debt can be accumulated is by profligate use of branches.  Avoid that at all costs! Read the rest of this entry »

 
1 Comment

Posted by on December 16, 2017 in Coding, Design, practice

 

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

Hints for ng-options

The documentation on Angular expressions is so sketchy that I really can’t work out what it means, so I have “decoded” what they say, and here is the two useful cases. Read the rest of this entry »

 
Leave a comment

Posted by on November 24, 2017 in Coding, Uncategorized

 

Tags: ,