RSS

“Oops something failed” is NOT acceptable error message

I try to keep track of real-life situations where poor error messages appear. That happened again today. This message was displayed to the user: Read the rest of this entry »

 
Leave a comment

Posted by on September 30, 2014 in Coding, Poor Error Msg

 

Tags: , ,

LaTeX: What I wish I had known, Part 1

I do a lot of writing, and I switched recently from a variety of word processors etc. to LaTeX. It is free, well supported, and does a great job of typesetting books. But for a normal business user with a normal experience in WYSIWYG word processors there are some big surprises. Here is what I wish I knew before starting that journey. Read the rest of this entry »

 
Leave a comment

Posted by on July 26, 2014 in LaTeX

 

Tags: ,

Always Test the Software running in the Same Way that Customer will run it

Some programmers have their own favorite ways to run the software they are working on, that is run differently than the way that the customer will run it.  This is evil.  Programmer is not testing what the customer will get, but testing something else.  Is that good enough? Read the rest of this entry »

 
Leave a comment

Posted by on May 14, 2014 in Design, practice

 

Tags: ,

Correctly Converting Integer to String

Learn to use Integer.toString(i) when you need a string that represents an integer.  This is always the most efficient way to convert, and it avoids some bad habits that can be expensive. Read the rest of this entry »

 
Leave a comment

Posted by on May 5, 2014 in Uncategorized

 

Security Absolutism is the Enemy of Security Improvement

Security is an important topic and everyone knows it.  This post is about a curious social behavior around implementing security procedures that often works against incremental improvement of security. Read the rest of this entry »

 
Leave a comment

Posted by on April 9, 2014 in Design

 

Tags: ,

Choice in Style of Debug Code

I have seen programmers take two approaches to code used to debug a project.  One of these approaches leads to “precision code” and can be left in to assure precision in the future, the other is … sloppy. Read the rest of this entry »

 
Leave a comment

Posted by on February 22, 2014 in Uncategorized

 

Never Use StringTokenizer

You should Never Use StringTokenizer.  That is a strong statement.  It is a bit of an exaggeration.  But in my experience, every case where StringTokenizer has been used that I have seen, has been an abuse of the original concept, and ended up in larger, more complex, and harder to maintain code. Read the rest of this entry »

 
Leave a comment

Posted by on February 8, 2014 in Coding

 

Tags:

 
Follow

Get every new post delivered to your Inbox.