Breakfast Haus
  • Communities
  • Create Post
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
hallettj@leminal.space to Programming@programming.devEnglish · 2 days ago

The 6 Big Ideas of Typescript

sitr.us

external-link
message-square
12
link
fedilink
20
external-link

The 6 Big Ideas of Typescript

sitr.us

hallettj@leminal.space to Programming@programming.devEnglish · 2 days ago
message-square
12
link
fedilink
If you want to get a quick handle on what Typescript is all about, and you have experience with other programming languages, this post will give you a high-level overview of what is special about Typescript. Typescript’s take on type checking is unusually expressive compared to similarly popular type-checked languages. That’s because Javascript, being a dynamically typed language, is extremely flexible. Typescript is designed to let you write Javascript almost as freely as you normally would, but with accurate type-checking added on. Whether or not you have experience with type-checking in other languages, it is helpful to learn the particulars of the Typescript way…
  • thingsiplay@lemmy.ml
    link
    fedilink
    arrow-up
    1
    ·
    1 day ago

    But types do not exist at runtime of a TypeScript application.

    • Lemminary@lemmy.world
      link
      fedilink
      arrow-up
      2
      ·
      20 hours ago

      By design, yes.

    • hallettj@leminal.spaceOP
      link
      fedilink
      English
      arrow-up
      2
      ·
      24 hours ago

      Yes, that’s right. Everything except for Javascript’s usual dynamically checked types are erased.

Programming@programming.dev

programming@programming.dev

Subscribe from Remote Instance

Create a post
You are not logged in. However you can subscribe from another Fediverse account, for example Lemmy or Mastodon. To do this, paste the following into the search field of your instance: !programming@programming.dev

Welcome to the main community in programming.dev! Feel free to post anything relating to programming here!

Cross posting is strongly encouraged in the instance. If you feel your post or another person’s post makes sense in another community cross post into it.

Hope you enjoy the instance!

Rules

Rules

  • Follow the programming.dev instance rules
  • Keep content related to programming in some way
  • If you’re posting long videos try to add in some form of tldr for those who don’t want to watch videos

Wormhole

Follow the wormhole through a path of communities !webdev@programming.dev



Visibility: Public
globe

This community can be federated to other instances and be posted/commented in by their users.

  • 143 users / day
  • 729 users / week
  • 757 users / month
  • 761 users / 6 months
  • 1 local subscriber
  • 26.4K subscribers
  • 81 Posts
  • 211 Comments
  • Modlog
  • mods:
  • snowe@programming.dev
  • Ategon@programming.dev
  • UlrikHD@programming.dev
  • bugsmith@programming.dev
  • Spyro@programming.dev
  • BE: 0.19.16
  • Modlog
  • Instances
  • Docs
  • Code
  • join-lemmy.org