Good error messages

I recall our little team getting into trouble many moons ago. We were writing a creditor system, and one of the requirements was for comments to be attachable to individual invoice lines. In COBOL every data structure has to be predefined. One of us thought that surely, surely, 400 comment lines would be enough for any one invoice line. This turned out not to be the case. Continue reading