Logo
It compiles! Ship it!
  • 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

Undefined variables Memes

Posts tagged with Undefined variables

The Edge Case Cliff Disaster

Programming Algorithms Javascript Debugging
20 days ago 148.2K views 0 shares
The Edge Case Cliff Disaster
The classic Road Runner vs. Wile E. Coyote scenario reimagined as a programming loop disaster! On the left, Road Runner's code uses a proper while (not edge) { run(); } loop that will terminate when reaching the cliff edge. Meanwhile, poor Coyote is using a do { run(); } while (not edge); loop—checking the condition after execution. He's already run off the cliff because his condition check comes too late! The fundamental difference between pre-test and post-test loops perfectly illustrated through cartoon physics. The variable edge isn't even defined until it's too late, and by then gravity.js has already been imported!

My Friend Showed Me This Code

C++ Programming Python Debugging
4 months ago 148.1K views 0 shares
My Friend Showed Me This Code
Ah, the classic "I'll mix five languages in seven lines and call it a day" approach! This monstrosity has C++ syntax with iostream and std::cout , but wrapped in Python-style def () function declaration, no parameter names, and curly braces like it's Java or C#. Then there's that mathematical abomination calculating "e" with nested exponents that would make a calculator have an existential crisis. And the cherry on top? Outputting variable x that doesn't even exist while calculating e that's never used. Whoever wrote this clearly graduated from the "chaotic evil" school of programming.

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 →

Apple 2024 MacBook Pro Laptop with M4 chip with...

Apple 2024 MacBook Pro Laptop with M4 chip with...
Ad Each purchase brings us closer to affording that AI that turns client requirements into actual specifications. 🤖