RSS

Author Archives: kswenson

GIT: Accented Characters in Filenames

If you are using file names with non-ASCII characters in them, then Git will sometimes behave funny.  There are some commands to know about. Read the rest of this entry »

Advertisements
 
Leave a comment

Posted by on June 20, 2018 in Coding, Resource

 

Tags: , , ,

Pragmatic Exception Handling

If you already know the requirements and best practices for exception handling and error reporting, this post talks about some convenient guidelines to follow to make it easier to comply with the rules.
Read the rest of this entry »

 
Leave a comment

Posted by on May 1, 2018 in Coding

 

Tags: ,

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 »

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