• 0 Posts
  • 23 Comments
Joined 2 年前
cake
Cake day: 2023年7月31日

help-circle







  • This is likely referring to TypeScript.

    TypeScript has all of these patterns, they are used very frequently and they are necessary because TypeScript tends to be interesting from time to time since its types only exist at compile time, because it compiles to JavaScript, which is a language without types.

    TypeScript also allows any as a keyword, which says “I don’t know which type this is and I don’t care”, which still produces valid JavaScript. To get back to typed variables it is necessary to use typeof (or similar constructs like a type guard).

    https://www.typescriptlang.org/docs/handbook/2/typeof-types.html









  • Konlanx@feddit.detoMemes@sopuli.xyzMeta!
    link
    fedilink
    arrow-up
    15
    arrow-down
    1
    ·
    2 年前

    Calling capitalism bad isn’t equal to calling communism good.

    I see this all the time. People think the opposite of capitalism is communism, which is plain wrong. They are completely different systems, but many parts are similar. If you say “I don’t wanna do capitalism anymore” it’s not like you are forced to be a communist now.