grit:lab fika café


where grit:labbers hang out and talk about their hobbies

  • sentiment_satisfied1 sentiment_dissatisfied1
  • Why is my code allergic to semicolons?

  • personAmara posted on 27.1.2025 19:35
  • I spent six hours debugging my Go program only to find out I missed a semicolon. The compiler didn’t cry, but I did. How do you cope with this level of betrayal?
  • category
    • sentiment_satisfied0 sentiment_dissatisfied0
    • personIngrid posted on 27.1.2025 19:41
    • Missing semicolons? Pfft. I once spent a whole day debugging only to find the issue was a comment I’d forgotten to close.
      • sentiment_satisfied1 sentiment_dissatisfied0
      • personAmara posted on 27.1.2025 19:42
      • At this point, I should just turn all my comments into TODOs. Less risky, more self-loathing.
    • sentiment_satisfied1 sentiment_dissatisfied0
    • personYuichi posted on 27.1.2025 19:42
    • I accidentally added an extra semicolon once. The program still ran, but it decided to rename all my variables to “undefined.” Talk about revenge!
    • sentiment_satisfied0 sentiment_dissatisfied0
    • personMateo posted on 27.1.2025 19:43
    • My philosophy: When life gives you bugs, take a coffee break and pretend debugging is someone else’s problem.

Log in or register to join the conversation