@jjacobsson@mastodon.gamedev.place
Post #2278822
2026-05-09 07:10 UTC
Replies (30)
-
@lritter@mastodon.gamedev.place 2026-05-09 07:12
@jjacobsson@mastodon.gamedev.place but entertaining!
-
@lyrial@transfem.social 2026-05-09 07:26
@jjacobsson@mastodon.gamedev.place The very first step is to never, under any circumstances look at any Reddit post made in the last 7 years.
-
@clyde@mastodon.gamedev.place 2026-05-09 07:46
@jjacobsson@mastodon.gamedev.place inspiring
-
@ratsnakegames@mastodon.social 2026-05-09 07:52
@jjacobsson@mastodon.gamedev.place the moral arc of the universe bends towards every programming language having generics
-
@realestninja@social.linux.pizza 2026-05-09 07:59
@jjacobsson@mastodon.gamedev.place made my day
-
@amy@cathode.church 2026-05-09 08:35
@jjacobsson@mastodon.gamedev.place jesus, everyone knows that is what the japanese 「」are for
-
@f4grx@chaos.social 2026-05-09 08:48
@jjacobsson@mastodon.gamedev.place can we have this text in the alt so we can boost it? thanks!
-
@aliengasmask@mas.to 2026-05-09 08:59
@jjacobsson@mastodon.gamedev.place ive boosted but im lowkey hoping this is just a joke
-
@navi@catcatnya.com 2026-05-09 10:26
@jjacobsson@mastodon.gamedev.place (also, Go has generics now)
-
@virtuous_sloth@cosocial.ca 2026-05-09 10:44
@jjacobsson@mastodon.gamedev.place Isn't all computation, at its most basic, just symbol manipulation?
-
@reiddragon@fedi.catto.garden 2026-05-09 10:45
@jjacobsson@mastodon.gamedev.place Go developers try not to do the most horrific hacks challenge
-
@ohmrun@indieweb.social 2026-05-09 11:23
@jjacobsson@mastodon.gamedev.place The second edition of Template Go will be available shortly, with a wallabat on the front. (fyi someone did do a generics like that at one point)
-
@Ralph@hear-me.social 2026-05-09 14:33
@jjacobsson@mastodon.gamedev.place #alttext pftbest 197 points 9 years ago can you please explain this go syntax to me? type ImmutableTreeList struct { I thought go doesn't have generics. Uncaffeinated 488 points 9 years 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. pcopley 385 points 9 years ago "they're characters from the Canadian Aboriginal Syllabics block." Oh my god
-
@odoruhako@mastodon.social 2026-05-09 14:51
@jjacobsson@mastodon.gamedev.place "If you look closely" 🤣
-
@TheLancashireman@hostux.social 2026-05-09 15:35
@jjacobsson@mastodon.gamedev.place Is Go the modern unicode version of APL? Does Go allow the em-dash in identifiers?
-
@mikeash@mastodon.sdf.org 2026-05-09 15:53
@jjacobsson@mastodon.gamedev.place If Generics did not exist, it would be necessary to invent Them.
-
@simon_brooke@mastodon.scot 2026-05-09 15:59
@jjacobsson@mastodon.gamedev.place This is what worried me about implementing a language (which I'm currently doing) with full 32bit character support. There are a large number of glyphs among all the character sets of the world, which are extremely hard or impossible to distinguish by eye, and the potential for confusion is enormous.
-
@nickapos@mastodon.oncrete.uk 2026-05-09 16:11
@jjacobsson@mastodon.gamedev.place Someone has too much free time on their hands
-
@okurth@mas.to 2026-05-09 17:16
@jjacobsson@mastodon.gamedev.place On first glance I thought this was a dialogue with an AI.
-
@hiddenalpha@mastodon.social 2026-05-09 21:11
😂
-
@chiffchaff@tech.lgbt 2026-05-09 23:29
@jjacobsson@mastodon.gamedev.place Pronounced "pa" and "po" respectively, for anyone who gets a gig voice acting Go template files.
-
@mjd@mathstodon.xyz 2026-05-09 23:47
Attn @pigworker@types.pl (re iI Ii)
-
@j2kun@mathstodon.xyz 2026-05-10 00:18
@jjacobsson@mastodon.gamedev.place on their way to reimplementing C++ I see
-
@UweHalfHand@norcal.social 2026-05-10 00:47
@jjacobsson@mastodon.gamedev.place Just to make sure, I looked on wikipedia…
-
@tbortels@infosec.exchange 2026-05-10 03:59
@jjacobsson@mastodon.gamedev.place Some people just want to watch the world burn...
-
@otte_homan@theblower.au 2026-05-11 02:28
@jjacobsson@mastodon.gamedev.place ... oh the miracle that is unicode ... it's be heaps of fun teaching Claude Code etc this sort of cursed shit and see what happens with the vibe code bros.
-
@FandaSin@social.linux.pizza 2026-05-11 14:52
@jjacobsson@mastodon.gamedev.place Some man just want to watch World burn!🤦😂 That's so evil. I love it!😈
-
@TheMinefighter@chaos.social 2026-05-12 11:08
@jjacobsson@mastodon.gamedev.place If you are forced to work in a language without generics, this seems like a reasonable and readable workaround to me.
-
@geert@society.oftrolls.com 2026-05-12 14:05
@jjacobsson@mastodon.gamedev.place Seems to work fine in C, too.
-
@bit101@mstdn.social 2026-05-13 13:55
@jjacobsson@mastodon.gamedev.place Seen this come up a couple of times here and I want to point out this is from (at least) 9 years ago and Go has had generics for about 4 years now. Not to devalue the craziness of the original post! Just don't want people to avoid Go because they think it doesn't have this feature and you have to do insane workarounds like this.