Learning C language before JavaScript

Learning C language before JavaScript
0

#1

Hi campers
I am beginning FCC journey . interested in backend programming than front end stuff.
Is it good idea to start learning C language as first language before learning other languages like JavaScript or Java
Few of my friends are from engineering background and insist me to learn C first.


#2

I have heard from a lot of people that you should be at least comfortable with a language a level below the abstraction level that you ultimately want to work in. If you want to be a javascript developer, C is a great choice to at least get comfortable in. That being said there is absolutely no reason that you need to start with C. Start with whatever you find the most enjoyable (figure this out by trying stuff out). If you are just getting into programming you will likely find C confusing and frustrating, and javascript more fun and exciting (although everyones preferences differ). Essentially don’t worry too much about your first language, if you want to build web apps focus on javascript/html/css and worry about C later.


#3

Yes C is a great language to start, half of the languages are based on it, is not that hard, or you could learn the first c++ is c with objects and you can make games if you want to make games faster learn c# with unity 3d, or maybe learn java is like c# but have a biggest community and infinity jobs and is the best language for android, if you like more ios learn swift is one of the easiest languages, or learn python is easier than swift the best language to write complex algorithms and for scientists or learn ruby to build web platforms very fast.

There are a lot of great languages that you could learn before javascript. Programming is not just writing code with one language, Programming is beyond that, you solve problems, you create things, the language is just a tool, yes, but programming is also a sport, you have to practice to get skills and to join the big leagues.
Sorry for my English.

P.S.
There is no better than javascript. Too many pros.


#4

You could learn C first, which would definitely make learning JavaScript easier. Or, you could learn JavaScript first, which would make learning C easier, but you’d have a lot more fun actually building things with JavaScript. It takes a lot longer to actually do stuff that you can see with C.

When you’ve got a few of the fCC projects done, check out CS50, which will not only let you get comfortable with C, but use it to teach you very useful concepts about computer science that will absolutely improve your web development skills.


#5

C, C++, Java, C# and the like generally speaking are in the same camp of languages. JavaScript is not.

I can tell you coming from that background I found JavaScript particularly confusing. Now not to say parts of programming in another language were not helpful when learning JavaScript, it was helpful, but because JavaScript is in such a different class it can cause quite a lot of confusion.

Especially where you are just starting out, and because it seems you’ve decided to go down the FreeCodeCamp road it may be a good idea to stick with JavaScript for a while, learn its ways and peculiarities before trying to integrate a different programming paradigm into your studies.

Google your question, and check out Quora, I’ve seen quite a lot of good conversation around this question in the last couple of years.

Quincy Larson posted this a while back. A Cautionary Tale of Learning to Code. My own.