RSS

Category Archives: Uncategorized

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 »

Advertisements
 
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

 

Individual Exception Classes are Monstrously Overweight

My last post was you can avoid a lot of waste in a project by recognizing program logic errors, and keeping the exception being thrown very lightweight. In this post I talk about a particularly heavy exception, the individual exception class, which is constructed to communicate just one thing. They are just too heave for most use, and here is why. Read the rest of this entry »

 
Leave a comment

Posted by on March 16, 2016 in Uncategorized

 

Resetting Passwords the Right Way

Never send a password through the email. There is never any need to do so. If your program does this for any reason, it is not following the best practice. Read the rest of this entry »

 
Leave a comment

Posted by on March 10, 2016 in Uncategorized

 

Constant Abuse

Constants can be useful, but constants can also be abused making code hard to read because you always have to go look somewhere else in the code just to understand what you are reading. This post is about a clear example of how constants can be used to make code much harder to maintain, particularly when they are arbitrary symbolic representations of something that is already supposed to act as a constant symbolic value. Read the rest of this entry »

 
Leave a comment

Posted by on March 9, 2016 in Uncategorized

 

JSON REST API – Exception Handling

All the world uses REST style web services, and returns data in JSON structures, because that is the best kind of API for an interactive, responsive JavaScript based user interface that runs in a browser. What are the best practices for what to send back when the server is unable to handle the request it was given? Read the rest of this entry »

 
Leave a comment

Posted by on September 16, 2015 in Uncategorized