in ,

goGenerics

goGenerics | loc-memes, lock-memes, list-memes, rest-memes, generics-memes, search-memes, jar-memes, IT-memes, ide-memes, cs-memes, comment-memes, rust-memes | ProgrammerHumor.io
loc-memes, lock-memes, list-memes, rest-memes, generics-memes, search-memes, jar-memes, IT-memes, ide-memes, cs-memes, comment-memes, rust-memes | ProgrammerHumor.io

Content

kusho.ai Parallelizing Enjarify in Go and Rust (medium.com) 138 submitted 3 months ago by Uncaffeinated 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 ImmutableTreeListElementT struct I thought go doesn’t have generics. permalink embed save report give gold reply – (Uncaffeinated (S 12 points 3 months ago 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. Every day. We stray further from god.