Would it be better to learn C before learning any type of WEB and desktop programming?
I don't know how to program, I want to learn Javascript and my friends suggested to me that I should learn C first.
Definitely not. C is a great language that can be used for a lot of things, but it operates at too-low a level for many of the needs of web and desktop software. When you are writing code, you want to focus on what makes your application unique among other applications in its domain.
If you absolutely must have static typing in your first programming language, then I still recommend you learn JavaScript first. Then you can quickly pick up TypeScript.
The next step for intermediate programmersC is more difficult to learn than JavaScript, but it's a valuable skill to have because most programming languages are actually implemented in C. This is because C is a “machine-level” language.
JavaScript(JS) is not similar or related to Java. Both the languages have a C-like syntax and are widely used in client-side and server-side Web applications, but there are few similarities only.
No.
JavaScript may be one of the klunkiest languages ever, but it has one huge advantage over C: You can play with it. (I spent 10+ years coding in C. I had some fun, but I'd never call what I did "playing".)
My suggestion: Open up your favorite Web page, save it to disk, open up the JavaScript (or download it, if need be), and play. You'll learn a lot that way.
EDIT: Downvoters: Yes, there is a lot to like about JavaScript. But there's also a lot not to like.
If your intent is to learn Javascript, start with Javascript now. The C language brings you a lot of general knowledge, but for Web programming it's better to start with HTML and Javascript. You need to answer yourself this question: 'how much time I can spend before be able to make money with programming?'
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With