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.

  • @DickFiasco@lemm.eeOP
    link
    fedilink
    English
    38 months ago

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

    Where is your God now?

  • Lambda
    link
    fedilink
    English
    18 months ago

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