Excuse me for asking such a thing in a forum like this, but I would like a little help. Recently I have sprung an interest in programming, and will begin by learning JavaScript. I have loved playing on OGS, and by being on the forums I have developed such an interest, being that it applies so much here. I am hoping to learn as a side skill and potentially as a job later on. So here goes: Does anyone know of any great beginner courses/ tutorials on beginning to use JavaScript that are online and free. Again, absolute beginner that knows nothing about programming looking to learn, thanks in advance!
an app that might be useful as a side resource: sololearn
i wouldnât recommend it as a main resource though.
this seems to be nice: https://www.codecademy.com/learn/introduction-to-javascript
w3scools is a good site as well for these things.
something to keep in mind - a language is a tiny part of âprogrammingâ, most knowledge is somewhat the same between most high level languages. which means: focus more on finding a resource that works for you, for any language. and yes, just try one, decide its not the best and go to somewhere else. no one can help you more than google.
languages that arent too bad to start with: python, c#, java, javascript.
oh and, find mini projects that you want to create. nothing teaches you more than working hard on making something you like ^^
if you like math problems, projecteuler.net will give you lots of nice projects. there are other problem sites, if you are less mathemathically enclined.
Instead of learning the language exclusively, Iâd recommend you also learn about what a computer is and how it works. One of the most fundamental sources on that would be Donald Knuthâs âThe Art of Computer Programmingâ or Charles Petzoldâs âCodeâ.
Some may say thatâs like reading a book on the physics & aesthetic principles of architecture before you build your first LEGO house, but if all youâve ever done was build LEGO houses,âŠ
I recommend âJavaScript: the good partsâ by Douglas Crockford. Itâs a great, concise guide for learning JavaScript. You can probably borrow it from your local library for free.
Building upon @smurphâs advice, but going on a different tangent, also take a look at The Wizard Book, Structure and Interpretation of Computer Programs, by Abelson & Sussmanâwhich is available for free, both for online reading and as a PDF, and has accompanying lectures. It uses the Scheme programming language, so my suggestion isnât directly related to your request, but I believe that going through a book like The Little Schemer does for our programming what I suppose tsumego do for our Go. In any case, I wish you success in your studies.
@levav, @GreenAsJade, @smurph, @yebellz, @lucasfelix: Thank you very much for all of the advice! I love to see so many responses and I will carefully consider all of your suggestions. I am actually only in high school right now (9th grade) and I will be studying for some time, as I am considering a major in computer science. Indeed, I hope to help contribute to OGS once I have sufficient knowledge. Day 2 of studying today (yesterday I found an IDE to use and some inspiration!) I will be studying on a daily basis and I do hope to learn other languages after a while. Thanks again!
When I did a bit of HTML I liked the ressources on selfhtml.
There is also a section for Javascript https://wiki.selfhtml.org/wiki/JavaScript
BUT I just noticed that it seems to be in German only.
Adding to all the excellent advice youâve got already:
Try to use books or resources that teach you the post-2015 Javascript language (also known as ES6 or JS2015 and a number of other names). For instance, I donât think Crockfordâs excellent book has been updated to the new standard.
The Javascript specs were revised substantially in 2015 and the language was brought closer to other higher level interpreted languages (like. e.g. Python). Pre-2015 Javascript has some, letâs say unorthodox ways of dealing with classes and modules that will make it harder to transfer your knowledge to other languages.
Also, I would recommend building a couple of Lego houses before venturing into physicsâŠ
More pedantically, the ES6 changes in 2015 didnât fundamentally alter the way Javascript works. Classes are just a re-skinning of the function based way things worked before. Javascript is still prototype-based, and is still kind of a weird language. ES6 is awesome, and added some really useful functionality, but it didnât fundamentally change anything.
If youâre venturing into OGS coding, OGS is all typescript, which is slightly different from Javascript. Itâs basically Javascript for people that like Java and missed having types and classes. It also has more semicolons.
Despite the title, this is not a programming book (most of the book is about the mathematical properties of algorithms). Itâs very advanced material, completely unsuitable for beginners, and itâs even less readable for modern audiences due to the fact that the examples in the book are written in an outdaded programming language invented by the author himself ~ 50 years ago that nobody else uses.
I highly suspect that smurph is trolling you here.
I personally think that ES6 fixed or improved most of the awful design decisions of older versions of Javascript. Sure, classes are just âsynctatic sugarâ, but they make the object system so much cleaner to use. Javascript with ES6 and âuse strictâ is actually a decent language.
I am a fan of codewars. It has a bunch of user submitted âkataâ in several languages. They are also ranked like go problems (i.e. 25k, 12k, 1d, etcâŠ). Itâs almost like tesuji problems for programmers.
When you submit your solution, you also get to see how others solved the same problem and can tag solutions with things like âcleverâ or âbest practices.â
You know, I think youâre right. Instead of reading the book and forming an opinion of his own, he should follow your advice and not worry his pretty little head about it .