Logo
It's not a bug, it's an undocumented feature.
  • Home
  • Hot
  • Random
  • Search

Browse

  • AI AI
  • AWS AWS
  • Agile Agile
  • Algorithms Algorithms
  • Android Android
  • Apple Apple
  • Backend Backend
  • Bash Bash
  • C++ C++
  • Cloud Cloud
  • Csharp Csharp
  • All Categories

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

Do-while Memes

Posts tagged with Do-while

Logical Loops: Look Before You Leap

Programming Algorithms Debugging
16 days ago 89.1K views 0 shares
Logical Loops: Look Before You Leap
The classic Road Runner vs. Wile E. Coyote saga gets a programming twist! The Road Runner (left) uses a while loop that checks the condition before running, so he stops safely at the cliff edge. Meanwhile, our poor Coyote friend uses a do-while loop that checks the condition after execution—meaning he'll always run at least once... right off that cliff. This is basically the difference between looking before you leap and leaping before you look. After 15 years of coding, I still occasionally make this mistake and then stare at my monitor with the same expression as that coyote.

Do While Loop

Programming Algorithms Debugging
3 months ago 109.2K views 0 shares
Do While Loop
This is basically how a do-while loop works in real life. First message: "I will be there in 5 minutes" (the initial statement that runs once). Second message: "If you don't?" (the condition check). Third message: "Re-read the message" (repeat the loop body). The beauty here is that unlike a while loop that checks conditions first, a do-while executes at least once before checking if it should continue—just like that promise to arrive in 5 minutes that inevitably turns into an infinite loop of excuses. The eternal programmer's time estimation paradox, but in relationship form!

Spotlight

GearScouts.com

Stop scrolling, start exploring! Find the gear that'll get you off the couch and into the wild. Compare power stations for off-grid adventures, flashlights for midnight hikes, and essentials that make the outdoors your playground. Get Outside →

Funny software engineering saying: being a soft...

Funny software engineering saying: being a soft...
Ad Buy = You get a shiny new toy + we keep the server hamsters fed. Everyone wins! 🐹