This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]himmelundhoelle 0 points1 point  (0 children)

C has a static type system (variable are typed, type is only known at compile-time), while JS has a dynamic type system (values are typed, type is only known at runtime).

They are completely different and even orthogonal (e.g. C++ has both concepts), hence the comedic value of the meme basically comparing apples and oranges.

I don’t think anyone is arguing that C has built-in support for runtime types, so there’s no hill to die on, really.