Logo
Talk is cheap. Show me the code.
  • 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

Ternary Memes

Posts tagged with Ternary

The Ternary Operator Fever Dream

Javascript Programming Debugging Frontend Webdev
10 hours ago 51.2K views 0 shares
The Ternary Operator Fever Dream
This code is what happens when someone discovers nested ternary operators and thinks they've unlocked godmode. The developer is trying to add the correct suffix to a date (1st, 2nd, 3rd, etc.) with a chain of ternaries that would make even Satan say "that's a bit excessive." The best part? It completely ignores 4-20, 24-30, and anything else ending with those numbers. Enjoy debugging this masterpiece when it breaks on the 4th of literally any month! Future maintainers will be adding this developer to their prayer lists tonight.

Spotlight

ScienceHumor.io

Introducing ScienceHumor.io - where Newton's laws meet comedy! A collection of scientifically proven funny memes that react faster than sodium in water. Visit →

Ad Liquid Debugger For Impossible Production Issues

Coffee so strong it finds bugs before your tests do
Death Wish Coffee Whole Bean Dark Roast | ProgrammerHumor.io
Buy = You get cool gear + we can finally afford proper documentation instead of just comments. 📖