this post was submitted on 11 Apr 2026
16 points (90.0% liked)

Programmer Humor

31750 readers
685 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 3 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] CookieOfFortune@lemmy.world 0 points 1 month ago (1 children)

Hmmm would most code these days be compiled into minified JavaScript? That might be more deterministic.

[–] epyon22@sh.itjust.works 1 points 1 month ago* (last edited 1 month ago) (1 children)

JavaScript is what is called an interpreted language there is no compiling at all the code is directly read and interpreted at runtime. Most of the time it's minified which reduces the size. Or in the case Vue React or Angular is transpiled which still results in JavaScript code but framework specific syntax is broken out and it's ran through bable to do backwards compatibility for older browsers.

[–] CookieOfFortune@lemmy.world 0 points 1 month ago (1 children)

Isn’t Typescript compiled into JavaScript?

[–] epyon22@sh.itjust.works 1 points 1 month ago (1 children)

Technically transpiled. Compiling results in something binary.

[–] CookieOfFortune@lemmy.world 1 points 1 month ago (1 children)

No a compiler just translates from one language into another. Transpilers are a type of compiler.

[–] epyon22@sh.itjust.works 1 points 1 month ago (1 children)

Typescript is transpiled into JavaScript. It's not a whole new language just additions to JavaScript.

[–] CookieOfFortune@lemmy.world 1 points 1 month ago

A transpiler is a compiler. And it doesn’t have to convert from one language to another to be considered a compiler.