3 ms·
100% agreed. You can write C-style code in JavaScript, but it won't be idiomatic C and it won't be idiomatic js. Syntax is a very minor piece of the programmin
by aur09 7y ago
100% agreed. You can write C-style code in JavaScript, but it won't be idiomatic C and it won't be idiomatic js.
Syntax is a very minor piece of the programming language pie. If Python, Haskell, and Rust all shared the same syntax an expert Python programmer would still have a hell of a time getting anything done in either of the other two languages.
- flukus 7y agoDiscovering the differences between languages is all part of the learning process If you can start off with "this is how I would do it in C" and try that in JavaScript you'll speed up your learning by focusing on what features are unique/different in JavaScript. Ultimately they have more in common than they differ.