Logo
CSS is awesome { overflow: hidden; }
  • 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

Go-language Memes

Posts tagged with Go-language

Canadian Go Programming

Golang Programming
4 months ago 1.3M views 0 shares
Canadian Go Programming
Someone discovers what looks like generic syntax in Go (a language famously without generics at the time), only to learn the most beautifully cursed truth: those aren't angle brackets—they're characters from the Canadian Aboriginal Syllabics Unicode block that are technically valid in Go identifiers. So instead of actual generics, this developer created a "template" file using these visually identical characters and just does find-and-replace to generate monomorphized code. It's the programming equivalent of "we have generics at home." The real kicker? Go's identifier rules allow these Unicode characters, so from the compiler's perspective, ImmutableTreeList<ElementT> is just one long, perfectly valid identifier name. The reaction "Oh my god" says it all—this is simultaneously genius and an absolute crime against readability. Peak developer ingenuity meets Unicode shenanigans. Before Go 1.18 added actual generics, people were getting creative .

Today's picks

Redragon K745 PRO Wireless 108-Key Gasket RGB Gaming Keyboard, 4 Hotkeys

Redragon K745 PRO Wireless 108-Key Gasket RGB Gaming Keyboard, 4 Hotkeys

Affiliate
$59.99
Why Does My Back Hurt

Why Does My Back Hurt

Programming
89.9K views 2 years ago
it's been a long week :')

it's been a long week :')

Programming
94.2K views 3 years ago