News for hackers. Stuff that matters.
Re:JavaScript for Cats - An introduction for new programmers by STHayden on Saturday August 18, 2012 @02:49PM (#4401907)
Kinda cool. While covering basic topics I don't know if this really the best guide for beginners. REPL is just not a term a beginner needs to know. Also while the console is awesome It's hard for a beginner to take the knowledge and apply it to something they can immediately do on their own.
Re:JavaScript for Cats - An introduction for new programmers by maxogden on Saturday August 18, 2012 @03:05PM (#4401956)
good call, I took the REPL section out. the whole thing is also on github in case you wanna help out https://github.com/maxogden/javascript-for-cats
Re:JavaScript for Cats - An introduction for new programmers by ronyeh on Saturday August 18, 2012 @03:45PM (#4402086)
Seems like there are still lots of references to REPL. Potentially remove them all? Why not just call it a console?
Re:JavaScript for Cats - An introduction for new programmers by maxogden on Saturday August 18, 2012 @04:35PM (#4402227)
Oh hahah I forgot I had used it so much
Re:JavaScript for Cats - An introduction for new programmers by STHayden on Saturday August 18, 2012 @03:42PM (#4402079)
also a good call. my god github is amazing. again good job.
Re:JavaScript for Cats - An introduction for new programmers by davvid on Saturday August 18, 2012 @03:56PM (#4402123)
This is a really nice, fun way to teach javascript. The internet is full of cats, so the possibilities are endless as far as the future articles are concerned. I've shared this with my friend who wanted to learn javascript (and also happens to be a total cat nut (just like me)).
Re:JavaScript for Cats - An introduction for new programmers by TazeTSchnitzel on Saturday August 18, 2012 @08:12PM (#4402752)
Great. But teaching beginners not to use semicolons at the end of lines may not be the best of ideas, especially since they can then be caught out when they type two lines that JS sees as one.
Re:JavaScript for Cats - An introduction for new programmers by maxogden on Saturday August 18, 2012 @09:03PM (#4402860)
if you find an instance in the code examples where ASI doesn't do its job i'd happily merge in a pull request that inserts a semicolon manually https://github.com/maxogden/javascript-for-cats
Re:JavaScript for Cats - An introduction for new programmers by TazeTSchnitzel on Saturday August 18, 2012 @09:13PM (#4402881)
No no no. Teaching people to only use a semicolon in some cases is even worse. It's far better to just tell them to use semicolons everywhere, as they should. ASI is an error-correction mechanism, after all.
Re:JavaScript for Cats - An introduction for new programmers by maxogden on Saturday August 18, 2012 @10:46PM (#4403054)
i'll make you a deal: if you can find a bug caused by me not using semicolons in any of my github repos from the last year i will add a section into jsforcats about using semicolons
Re:JavaScript for Cats - An introduction for new programmers by magmadiver on Sunday August 19, 2012 @06:04AM (#4403702)
Well, you're not a beginner, so it doesn't really apply to you. Consistency and completeness are very important to avoid confusion.
Re:JavaScript for Cats - An introduction for new programmers by maxogden on Sunday August 19, 2012 @04:30PM (#4405131)
teaching to a broad audience means balancing the likelihood that the learner will be in over their head (too much information) with the likelihood that they will have a negative experience stemming from lack of information (bug due to missing semicolon). given javascript and its many bad parts I believe the first scenario to be much more likely than the second, especially for an introductory text.
Re:JavaScript for Cats - An introduction for new programmers by TazeTSchnitzel on Sunday August 19, 2012 @06:52AM (#4403748)
Yeah. I don't want begginers to be caught out.
Re:JavaScript for Cats - An introduction for new programmers by chinchang on Saturday August 18, 2012 @04:32PM (#4402221)
There is mention somewhere that he is going to talk on underscore.js too but its not mentioned in the future topic list?
Re:JavaScript for Cats - An introduction for new programmers by maxogden on Saturday August 18, 2012 @04:34PM (#4402225)
Sorry, it's part of the looping section. I should have clarified
Re:JavaScript for Cats - An introduction for new programmers by chinchang on Sunday August 19, 2012 @07:40AM (#4403792)
cool! Will wait for the next writeup.
Re:JavaScript for Cats - An introduction for new programmers by swift on Saturday August 18, 2012 @09:31PM (#4402919)
Strange explanation of the word "variable" in here. It doesn't mean "many" - more like "changeable". It's the opposite of "constant".
Re:JavaScript for Cats - An introduction for new programmers by maxogden on Saturday August 18, 2012 @10:43PM (#4403050)
"many" as in "many forms". i'll work on clarifying the language
Re:JavaScript for Cats - An introduction for new programmers by Udo on Sunday August 19, 2012 @04:11AM (#4403547)
I second this "changeable" synonym instead of "many". At that point, you could also add a quick reference to mathematics, because that's where 99% of all people already got some experience with variables.

Very cool tutorial by the way, keep up the great work!

Re:JavaScript for Cats - An introduction for new programmers by barnette on Saturday August 18, 2012 @11:09PM (#4403092)
This is a very good JavaScript beginner intro from msdn channel 9. http://channel9.msdn.com/Series/Javascript-Fundamentals-Deve...
Re:JavaScript for Cats - An introduction for new programmers by benatkin on Sunday August 19, 2012 @03:03AM (#4403444)
This is nice, especially how it encourages using the in-browser development environment. I think it should more strongly direct people to use Chrome so it can be one set of instructions and go deeper.
Re:JavaScript for Cats - An introduction for new programmers by charliepark on Saturday August 18, 2012 @07:56PM (#4402725)
The copy on this reads a lot like Chris Pine's introduction to Ruby. Playful, insightful, and simple enough that it isn't intimidating. Really nice.
Re:JavaScript for Cats - An introduction for new programmers by maxogden on Saturday August 18, 2012 @09:04PM (#4402863)
I hadn't seen this specific introduction, thanks! I first learned ruby through _why's poignant guide which definitely influenced the approach I took here
Re:JavaScript for Cats - An introduction for new programmers by rshlo on Saturday August 18, 2012 @03:18PM (#4402008)
great idea, looking forward for the rest.