Jump to content

  • Log In with Google      Sign In   
  • Create Account


Learning Javascript


Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.

  • You cannot reply to this topic
5 replies to this topic

#1 Zrifepsych   Members   -  Reputation: 256

Like
1Likes
Like

Posted 21 March 2013 - 09:48 AM

I actually want to be a game director/designer in the future but couldn't wait to create a game.So I got Unity3D and now I'm stuck with the programming aspects.I want to learn Javascript for the scripting but so far I haven't found any tutorial video on youtube that I can understand.I have ZERO knowledge about programming.I want to ask you guys to perhaps to show me some good tutorials on learning Javascript for someone like me.



Sponsor:

#2 JackBid   Members   -  Reputation: 453

Like
3Likes
Like

Posted 21 March 2013 - 11:01 AM

There is this great site called codecademy, there is a really course on javascript for beginners for free!

 

http://www.codecademy.com/



#3 Ravyne   Crossbones+   -  Reputation: 7116

Like
0Likes
Like

Posted 21 March 2013 - 12:49 PM

As far as books, if you can pick some up, the two I recommend are Object-Oriented JavaScript, and JavaScript: The Good Parts. Both books lay out why JavaScript is different than any other language you might know. The former book focusses on how you can bend or work around it's peculiarities to so that you can think about your program in more familiar terms, while the latter focusses more on leveraging and embracing those same peculiarities as they are, because they're actually pretty nice for a lot of stuff. In fact, because of how it works, I consider JavaScript to be a really good language for scripting things (as in Unity) -- it may lack the popularity of e.g. Lua in gaming circles, but it works every bit as well, aside from the integration story (which Unity has already done for you).

 

But if you're looking for more of a "Learn to program using JavaScript" -- where the focus is on learning to program and JavaScript is basically the vehicle for that, I'm not aware of any books. Codecademy might be good, but I've never used it. W3Schools is really great, but focusses on using JavaScript in the browser. Khan Academy's programming resources seem to be mostly (entirely?) in JavaScript, and their material tends to be pretty good overall.


Edited by Ravyne, 21 March 2013 - 12:53 PM.


#4 Serapth   Crossbones+   -  Reputation: 5326

Like
0Likes
Like

Posted 21 March 2013 - 01:10 PM

I reviewed the two books JavaScript books I would really recommend.  The one is JavaScript:The Good Parts like Ravyne recommend and the other is JavaScript: The Definitive Guide.  The second book is the all in one primer book, the kinda of book everyone needs to own.  Unlike many books, only a 3rd ( of like 1200 pages! ) is about DOM programming, and nicely, its regimented well.  This is the biggest flaw with a lot of JavaScript books, they seem to assume you want to work in the web browser only, which is annoying.

 

The Good Parts on the other hand is half a terrible book.  The author is an arrogant douche, at least it comes across that way.  Half of the book is trying to be overly clever by a half, the examples are convoluted for the sake of making the author feel clever, as opposed to easy to understand, like an example should be, plus the author states a hell of a lot of opinion as fact.  So why then do I recommend it?  The other half is pure gold.  It's the JavaScript Equivalent of Effective C++.  It *WILL* make you a better JavaScript programmer if you are capable of groking it.  Plus its short and cheap.

 

That said, JavaScript:The Good Parts is completely useless to you until you actually learn the language.  It will not make you a JavaScript programmer, but it will make you a better one.

 

 

JavaScript's popularity outside the browser is certainly on the rise.  With Google shipping the V8 engine, you are seeing more and more JavaScript "applications".  Of course Node is certainly popularizing server side JavaScript, while it is being used in gaming, from HTML5 games, to Unity and Moscrif



#5 JackBid   Members   -  Reputation: 453

Like
0Likes
Like

Posted 21 March 2013 - 01:18 PM

Also once you have learnt some basic javascript (and if you know some html - its very easy to learn) I would recommend buying a book called "html5 canvas" by Rob Hawkes. It teaches you how make simple applications and games with pretty basic html and javascript.



#6 Zrifepsych   Members   -  Reputation: 256

Like
0Likes
Like

Posted 22 March 2013 - 12:18 AM

I don't know about books though,since it's hard to find books like that at where I live.But thanks for the recommendations,please name some more if you have.Online and free preferably.  






Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.



PARTNERS