Logo
Code is poetry written by poets who can't spell.
  • 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

Optional Memes

Posts tagged with Optional

Potentially Might Be An Integer Or Not

Rust Java Programming Kotlin
3 months ago 163.2M views 0 shares
Potentially Might Be An Integer Or Not
The evolution of nullable types in modern programming languages perfectly captured in three stages of increasing sophistication (or is it just confusion?). Started with Option<i32> looking basic, then Optional<Integer> trying to be fancy with its Java vibes, but the real boss move? Just slapping "Maybe" in front of "Int" and calling it a day. Languages can't even agree on what to call "this thing that might not exist." Rust says Option, Java says Optional, Haskell's over there with Maybe looking smug. They all solve the billion-dollar mistake (null references) but with increasingly vague naming conventions. By the time we get to "Maybe Int," we've achieved peak uncertainty – it's not just the value that's uncertain, the entire type system is shrugging at you.

Today's picks

Employee Vs Freelancer Vs Founder Vs Vibe Coder

Employee Vs Freelancer Vs Founder Vs Vibe Coder

Programming
291.2M views 12 days ago
No wonder I don't have access to production

No wonder I don't have access to production

Testing
47.9K views 3 years ago
j a v a s c r i p t

j a v a s c r i p t

Backend
23.3K views 4 years ago