memesearch
Go Syntax Generics Misunderstanding

Go Syntax Generics Misunderstanding

Download Find similar pictures
Text on the meme
can you please explain this go syntax to me? type ImmutableTreeList<ElementT> struct { I thought go doesn't have generics. Uncaffeinated 🎤 It doesn't. That's just a "template" file, which I use search and replace in order to generate the three monomorphized go files. If you look closely, those aren't angle brackets, they're characters from the Canadian Aboriginal Syllabics block, which are allowed in Go identifiers. From Go's perspective, that's just one long identifier.
What it means

A programming screenshot jokes about apparently generic Go syntax in a type declaration. The explanation reveals that the angle brackets are actually Canadian Aboriginal Syllabics characters used inside one long identifier, making the technical workaround absurdly misleading. It is shared as a reaction to overcomplicated code, confusing syntax, or clever hacks. EN: A programming screenshot jokes about apparently generic Go syntax in a type declaration. The explanation reveals that the angle brackets are actually Canadian Aboriginal Syllabics characters used inside one long identifier, making the technical workaround absurdly misleading. It is shared as a reaction to overcomplicated code, confusing syntax, or clever hacks.

Objects
Tags
Source
Type
image
Size
800×497 · 74.7 KiB
Mood
absurd, sarcastic
Language
en
Added