57
you are viewing a single comment's thread
view the rest of the comments
[-] Miaou@jlai.lu 1 points 1 year ago* (last edited 1 year ago)

Ugh? Why shouldn't it be the same code?

[-] scorpionix@feddit.de 1 points 1 year ago

Because Browsers can't run Typescript, they run JavaScript. That's why the intermediate conversion step isneededd.

[-] Miaou@jlai.lu 1 points 1 year ago* (last edited 1 year ago)

But your tests are running on the compiled code too. Nothing can be tested but handwritten assembly, with such approach

this post was submitted on 08 Sep 2023
57 points (70.2% liked)

Programming

17558 readers
268 users here now

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



founded 2 years ago
MODERATORS