in ,

When language doesn’t have generics, but that doesn’t stop you.

When language doesn't have generics, but that doesn't stop you. | loc-memes, lock-memes, list-memes, generics-memes, search-memes, jar-memes, IT-memes, ide-memes, language-memes, cs-memes, comment-memes, rust-memes | ProgrammerHumor.io
loc-memes, lock-memes, list-memes, generics-memes, search-memes, jar-memes, IT-memes, ide-memes, language-memes, cs-memes, comment-memes, rust-memes | ProgrammerHumor.io

Content

A 138 Parallelizing Enjarify in Go and Rust (medium.com) submitted 3 months ago by Uncaffelnated 79 comments share save hide give gold report sorted by: best v you are viewing a single comment’s thread. view the rest of the comments – pftbest 7 points 3 months ago can you please explain this go syntax to me? type ImmutableTreeListElement struct ( I thought go doesn’t have generics. permalink embed save report give gold reply – (Uncaffeinated) S 12 points 3 months ago V 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.