Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Should I learn C before learning Javascript? [closed]

Tags:

javascript

c

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.

like image 824
Jitendra Vyas Avatar asked Apr 16 '09 03:04

Jitendra Vyas


People also ask

Is it necessary to learn C before JavaScript?

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.

Which language should I learn first C or JavaScript?

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.

Is C easy to learn after JavaScript?

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.

Is JavaScript closer to C or Java?

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.


2 Answers

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.

like image 175
Dan Breslau Avatar answered Oct 22 '22 18:10

Dan Breslau


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?'

like image 40
GogaRieger Avatar answered Oct 22 '22 18:10

GogaRieger