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

Programming Humor

2547 readers
31 users here now

Related Communities [email protected] [email protected] [email protected] [email protected]

Other Programming Communities [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected]

founded 1 year ago
MODERATORS
 

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.

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 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.