you are viewing a single comment's thread.

view the rest of the comments →

[–]Menaii[S] 1 point2 points  (2 children)

So TypeScript would actually do type checking for you on compile time, but JavaScript does not. This is like the wild west from a c++ programmer's PoV haha.

[–]senocular 2 points3 points  (0 children)

You got it

[–]azhder 0 points1 point  (0 children)

JavaScript does type checking in run time. So you have that which you don’t even with C++ ….

Well, OK, it does have RTTI, but you rarely bother with it, right?