Monthly Archives: January 2023

Error Message Video

Here is a video tutorial giving an overview of the error message problem.

Posted in Coding, Design, Poor Error Msg | Tagged , , | Leave a comment

Numbered Error Messages Do Not Work

As part of a series of posts about error messages, this post covers a very specific claim: a single error message picked from a list of error messages is a bad idea and produces poor error reporting.  We start with … Continue reading

Posted in Coding, Design, Poor Error Msg | Tagged , , , | Leave a comment

Code Copy Guidelines

This post presents some guideline reduce duplicates in the code. Whenever you notice that you’re writing blocks of code that are substantially similar, try to make a routine (method) that embodies that code and call it from all the places. … Continue reading

Posted in Coding | Leave a comment

Variable Naming

Here are some coding guidelines about using meaningful names in the program. Most of them are taken from from Clean code book Choosing good names takes time but saves more than it takes.

Posted in Coding, Example Code | Tagged | Leave a comment

Canonical Execution Error Example

If we are going to talk about error messages, we need to flesh out a typical computation scenario within which an error occurs.  I use this example in other places to talk about possible error messages.

Posted in Coding, Design, Example Code | Tagged , , , , | Leave a comment