Funny Coding Error: Office Gets Kick Out of It!

Click For Summary
SUMMARY

The discussion centers around a humorous coding error encountered during a summer internship, specifically related to COBOL programming. The error stemmed from a missing period in COBOL statements, which led to numerous compilation errors as the compiler failed to realign with the code. This incident highlights the literal nature of programming languages and the challenges they pose when syntax rules are not strictly followed. The anecdote serves as a reminder of the importance of attention to detail in coding.

PREREQUISITES
  • Understanding of COBOL programming language
  • Familiarity with compiler error messages
  • Knowledge of syntax rules in programming languages
  • Experience with debugging techniques
NEXT STEPS
  • Research COBOL syntax rules and common pitfalls
  • Learn effective debugging strategies for COBOL
  • Explore the history and evolution of COBOL programming
  • Investigate modern tools for COBOL development and error handling
USEFUL FOR

This discussion is beneficial for programmers, especially those working with COBOL, interns in software development, and anyone interested in understanding the nuances of coding errors and debugging practices.

STEMucator
Homework Helper
Messages
2,076
Reaction score
140
I've been working an internship over the summer, and I ran into a very humorous coding error. Everyone at the office got a kick out of it, and I thought some forum members might laugh at it as well:

IMG_0864.jpg


So painful!

It was not very funny fixing it though.
 
  • Like
Likes   Reactions: jedishrfu and RooksAndBooks
Technology news on Phys.org
Yeah, the computer is just too literal sometimes. Years ago, if you forgot a single period early on in a COBOL (COBOL statements ended with a period) you could generate hundreds of errors as the compiler struggled to realign itself with the code often to no avail.
 

Similar threads

  • · Replies 9 ·
Replies
9
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
Replies
2
Views
3K
  • · Replies 6 ·
Replies
6
Views
2K
Replies
12
Views
9K
  • · Replies 6 ·
Replies
6
Views
3K
  • · Replies 30 ·
2
Replies
30
Views
7K
  • · Replies 4 ·
Replies
4
Views
8K
  • · Replies 5 ·
Replies
5
Views
3K
  • · Replies 20 ·
Replies
20
Views
3K