14

A few months ago I saw a funny story about a guy who added generics/templates to JavaScript (or maybe TypeScript?) by using runic characters that look like angle brackets to enclose the template parameter, then using a preprocessor to convert the runes, etc. to actual, legal types before compilation. I can't seem to find it anywhere; hoping someone knows what I'm talking about.

top 2 comments
sorted by: hot top controversial new old
[-] DickFiasco@lemm.ee 3 points 1 year ago

Found it! The language was Go, and the characters were Canadian Aboriginal, not Runic:

Where is your God now?

[-] lambdabeta@lemmy.ca 1 points 1 year ago

I think I remember the article too. Sadly TSs generics support make it particularly tricky to search for. I hope somebody finds it.

this post was submitted on 16 Aug 2023
14 points (93.8% liked)

Programming Humor

2504 readers
1 users here now

Related Communities !programmerhumor@lemmy.ml !programmer_humor@programming.dev !programmerhumor@kbin.social !programming_horror@programming.dev

Other Programming Communities !programming@beehaw.org !programming@programming.dev !programming@lemmy.ml !programming@kbin.social !learn_programming@programming.dev !functional_programming@programming.dev !embedded_prog@lemmy.ml

founded 1 year ago
MODERATORS