Logo
The best code is no code at all.
  • 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

Option-type Memes

Posts tagged with Option-type

Potentially Might Be An Integer Or Not

Rust Java Programming Kotlin
2 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

Git 50 Pack 1-Inch Retro Stickers for Scrapbooking, Journals, Planners, Laptops, Phones and Water Bottles

Git 50 Pack 1-Inch Retro Stickers for Scrapbooking, Journals, Planners, Laptops, Phones and Water Bottles

Affiliate
$5.95
finally bug is solved , best bug fixer

finally bug is solved , best bug fixer

Debugging
285.5K views 2 years ago
NordVPN

NordVPN

Sponsored
VPN