Logo
rm -rf /: The factory reset button for your computer.
  • Home
  • Hot
  • Random
  • Search

Browse

  • AI AI
  • AWS AWS
  • Agile Agile
  • Algorithms Algorithms
  • Android Android
  • Apple Apple
  • Azure Azure
  • Backend Backend
  • Bash Bash
  • C++ C++
  • Cloud Cloud
  • All Categories
As an Amazon Associate ProgrammerHumor.io earns from qualifying purchases.

HTTP 418: I'm a teapot

The server identifies as a teapot now and is on a tea break, brb

HTTP 418: I'm a teapot

The server identifies as a teapot now and is on a tea break, brb

Fallthrough Memes

Posts tagged with Fallthrough

The Break Operator Strikes Back

Debugging Programming Javascript C++ Java
1 year ago 465.8K views 1 shares
The Break Operator Strikes Back
The eternal loop of pain for every developer who's been burned by a missing break statement. In many programming languages like JavaScript, C, or Java, forgetting to add a break after each case in a switch statement means execution "falls through" to the next case. What our poor Anakin thought was a simple while loop with a condition check is actually a nightmare waiting to happen. That smug look from Padmé says it all - she knows he's about to experience the joy of unexpected behavior when execution cascades through every case below the matching one. And just like the recursion in this meme format, the debugging pain will multiply infinitely. The real Force power is remembering your break statements.

Why Do We Need Breaks In Switches Again

Programming Debugging Javascript C++ Csharp
1 year ago 437.7K views 0 shares
Why Do We Need Breaks In Switches Again
The eternal suffering of forgetting to add break statements in switch cases. The code just keeps on executing through every subsequent case like it's on a mission to ruin your day. And then you spend three hours debugging why your function is returning seventeen different values when it should only return one. The worst part? The compiler sits there silently judging you instead of throwing a warning. Thanks for nothing, compiler.

Today's picks

RegEx T-Shirt - Regular Expressions - Programming - Funny T-Shirt

RegEx T-Shirt - Regular Expressions - Programming - Funny T-Shirt

Affiliate
$19.99
You don't say

You don't say

Programming
89.2K views 2 years ago
i love it when devs have sense of humor

i love it when devs have sense of humor

Programming
94.0K views 4 years ago