Live data from Hacker News

Douglas Crockford on JavaScript

digest.browsertech.com

201–202 of 202 posts

Re: Douglas Crockford on JavaScript

#201
post #200

Earlier quoted context omitted.

I mean I could say C++ is just python with memory management macros. We're getting into the domain of opinion here. I would say TS is different enough such that it's two different languages. Programming with type checking and programming with plain JS is really different. A programmer without experience in types (ie plain JS) won't be able to pick up types that that quickly on average. Things like enums, Generics, su…

Typescript's devs define it as simply JS with types to the point that they even have a proposal to add those type constructs into JS at which point the syntactic difference would be very small indeed. > Things like enums, Generics, sum types, product types, recursive types, really change the game by restricting what functions can do. If only that were true. The reality is that if you can write it in JS, you can add T…

[dead]

Re: Douglas Crockford on JavaScript

#202

Earlier quoted context omitted.

Luajit definitely. Lua not so much.

Javascript is jit? so it would be fair to compare the jit versions.

Sorry, I missed your reply.

In terms of performance and memory use, LuaJIT beats every other JIT out there. Lua is a much smaller language, and Mike Pall is a cyborg, so it's an unfair comparison when compared with such a huge language like JS.

Post reply on HN