Logo
Why do programmers prefer dark mode? Because light attracts bugs!
  • 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
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

Variance Memes

Posts tagged with Variance

Anime Gender Type Theory

Typescript Java Programming Csharp C++
5 months ago 513.2K views 0 shares
Anime Gender Type Theory
Someone took their TypeScript generics knowledge and applied it to the most important problem in computer science: categorizing anime characters by gender presentation. Because nothing says "I understand covariance and contravariance" quite like explaining why that cute anime character might be a trap. The progression is beautiful: simple generic Girl, then a Variant that could be Boy OR Girl (Schrödinger's waifu), then a Boy that implements the IGirl interface (the classic "looks like a girl, sounds like a girl, but surprise"), and finally void—because some things transcend mortal understanding. The BitCast at the end is the cherry on top: when type safety fails you, just reinterpret those bits and pray. Your type system can't save you now.

Today's picks

Genuinely Can't With These People

Genuinely Can't With These People

Cloud
2.2M views 5 days ago
World's Best Web Developer Nutritional Facts Christmas 2025 Gifts Coffee Mug White 15 Oz

World's Best Web Developer Nutritional Facts Christmas 2025 Gifts Coffee Mug White 15 Oz

Affiliate
$16.95
When people ask me how to use a library

When people ask me how to use a library

Programming
66.1K views 2 years ago