Logo
CAPTCHA: Computers Asking People To Confirm Humanity Again
  • 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 434.0K 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 412.8K 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

Vilros Raspberry Pi 4 4GB Basic Starter Kit with Fan-Cooled Heavy-Duty Aluminum Alloy Case

Vilros Raspberry Pi 4 4GB Basic Starter Kit with Fan-Cooled Heavy-Duty Aluminum Alloy Case

Affiliate
$136.99
(not OC) this is what peak programmer setup looks like.

(not OC) this is what peak programmer setup looks like.

Programming
92.2K views 2 years ago
The Guardian Angels Of Stack Overflow

The Guardian Angels Of Stack Overflow

StackOverflow
411.4K views 1 year ago