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

Programming Humor

2504 readers
2 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.

top 2 comments
sorted by: hot top controversial new old
[โ€“] [email protected] 3 points 1 year ago

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

Where is your God now?

[โ€“] [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.