RSS

Category Archives: practice

Avoid Unnecessary Conditional Nesting

Simply put: try to make your conditions as flat as possible.  This makes them generally easier for the humans to parse and understand.  Read the rest of this entry »

 
Leave a comment

Posted by on March 29, 2016 in Coding, practice

 

Tags: , ,

Two Kinds of Exceptions

An exception is a message from the system to the user about something that the program can not handle. There are a couple of main categories of exceptions: environmental and program logic. They warrant quite different treatment. Read the rest of this entry »

 
Leave a comment

Posted by on March 14, 2016 in Coding, Design, Poor Error Msg, practice

 

Tags: , , , ,

Brainless Getters & Setters are a Waste

Someone long ago set a pattern that all members should have a getter and setter method.  Some are persuaded that this is OO and this is encapsulation, so a lot of inexperienced programmers do this by default.  But this is a problem. Read the rest of this entry »

 
Leave a comment

Posted by on March 7, 2016 in Coding, Example Code, practice

 

Tags: , , , ,

Don’t Baby Your Builds

In a conversation this week, one developer insisted that a special build machine should be built to assure that the build is always comes out the same.  My response: if your project is building differently on different machines, then you have a much deeper problem. Read the rest of this entry »

 
Leave a comment

Posted by on March 5, 2016 in Coding, practice

 

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

SVN Essentials 2

Most of what a developer needs to know about SVN is covered in SVN Essentials.   However, if you are a project lead, and responsible for a project with multiple releases, you might need to also knows these details about branching and tagging. Read the rest of this entry »

 
Leave a comment

Posted by on November 17, 2014 in Coding, practice

 

Tags: , ,

Usability is like the Flavor of a Meal

We talk about usability of software as if it was something separate from the software itself.  There are usability experts, and there are programmers who openly claim to not be very good at user interface.  And yet, usability is affected by many deep aspects of the software, and it is important that all programmers on a project be aware of the usability goals of the entire project. Read the rest of this entry »

 
Leave a comment

Posted by on October 6, 2014 in Coding, Design, practice

 

Tags: ,