Go Syntax Generics Misunderstanding
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.
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.
code screenshot / скриншот кодаGo programming language / язык программирования Gotype declaration / объявление типаtext editor or forum interface / интерфейс редактора или форумаmonospaced code text / моноширинный текст кодаangle brackets / угловые скобкиCanadian Aboriginal Syllabics characters / символы канадского слогового письма аборигеновmicrophone emoji / эмодзи микрофонаparagraph text / текст абзацаprogramming syntax / синтаксис программирования
#go#generics#дженерики#programming#программирование#syntax#синтаксис#coding#кодинг#software#софт#developer#разработчик#template#шаблон#identifier#идентификатор#confusing#запутанный#technical joke#техническая шутка#reaction#реакция#screenshot#скриншот#meme#мем#programming meme#мем про программирование
- @ithueti / 12575 2024-04-19
- Type
- image
- Size
- 800×497 · 74.7 KiB
- Mood
- absurd, sarcastic
- Language
- en
- Added