memesearch
Go Generics Syntax Confusion

Go Generics Syntax Confusion

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. 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 forum screenshot shows a user asking about apparent generic syntax in Go code. The reply explains that the symbols are actually Canadian Aboriginal Syllabics characters inside one long identifier, making the joke a clever technical workaround and a reaction to confusing code.

Objects
Tags
Sources
Type
image
Size
800×641 · 84.1 KiB
Mood
clever absurd
Language
en
Added