• 0 Posts
  • 25 Comments
Joined 11 months ago
cake
Cake day: August 3rd, 2023

help-circle

  • jana@leminal.spacetoProgrammer Humor@lemmy.mlWith PieMixin
    link
    fedilink
    English
    arrow-up
    3
    ·
    edit-2
    7 months ago

    But generic type syntax is a feature exclusive to Typescript while typeof is a JavaScript thing. You’d never get Pie[Pie[T]] as a result from a typeof check. (Please excuse the square brackets; seems like the markdown parser here isn’t quite right and it keeps messing up the angle brackets)

    Also, it’s typeof foo not typeof(foo) in js














  • jana@leminal.spacetoAsklemmy@lemmy.mlReddit / lemmy vs Old internet forums
    link
    fedilink
    English
    arrow-up
    35
    arrow-down
    1
    ·
    edit-2
    10 months ago

    Personal example: I once asked on the linguistics subreddit why desceiptivist linguistics were preferred to prescriptivist and was downvoted to hell and back. The only replies were to call me a racist. I never got an answer, and I still don’t know. So voting is not the end-all be-all of forum mechanics.

    I’mma have to call bullshit here, unless there just so happened to be a different person using the name quindraco on Reddit who asked this very question.

    • Your question was answered.
    • You may have gotten downvotes, but it was certainly not “to hell and back” – your post is currently sitting at +18.
    • Not a single person called you racist, even after you compared descriptivism to literal genocide.