6 ms·
This is awesome. I will take [a single huge list of self-explanatory example snippets (with a few short comments here and there) for 95% of use cases] over [de
by karpathy 13y ago
This is awesome. I will take [a single huge list of self-explanatory example snippets (with a few short comments here and there) for 95% of use cases] over [detailed walls-of-text docs pages spread across a hierarchy of topics] any day.
- tylerneylon 13y agoThanks. My goal was to write the tutorial I wish I had when I started. Your description also matches my own preferred learning style.
- StavrosK 13y agoWere you inspired by http://www.stavros.io/tutorials/python/ http://www.stavros.io/tutorials/python/, by any chance?
- anoymous9352 13y agoMine too. If I had found this back when I was learning Lua, I'm certain I'd have bookmarked it and referred to it regularly. I just hope beginners don't absorb the coding style too much >:)
- uniclaude 13y agoI'm glad this comment sits at the top of this thread. I do hope that more and more learning resources come to us in this form, which is a very good thing to give you an idea of wether you would like to jump into a language (or maybe even a framework/platform?). OP did a very good job. That said, Lua is quite the special case, as it does not require much time to get up and running with it. This is one of the reasons why it is the scripting language of Redis by the way (Antirez even wrote Total time require to master it enough? 5 minutes.[1] regarding building scripts for Redis). [1]:http://oldblog.antirez.com/post/scripting-branch-released.html http://oldblog.antirez.com/post/scripting-branch-released.ht...
- kemist 13y agoCan't agree with you more!
- dpcan 13y agoI agree, but can't help but wonder if the "me" from 20 years ago would have found this very confusing while I was learning to program. I learned from books with all that long-winded banter - so now I'm not sure if I actually NEEDED all that stuff in order to learn. Guess I'll never know. This method, however, is PERFECT for anyone who already knows how to program. I love it, and actually came here to say that I wish everything everywhere had a page like this on the web. The brass tax, get down to business, of ANY topic in 15 minutes.
- derleth 13y ago> The brass tax Or the brass tacks, even: http://www.phrases.org.uk/meanings/get-down-to-brass-tacks.html http://www.phrases.org.uk/meanings/get-down-to-brass-tacks.h... Sadly, English isn't as logical as Lua.
- dpcan 13y agoWell... how about that :) Never even thought about the phrase before. No edits, I'll leave my error for fun and learning.
- deleted 13y ago[deleted]
- fuzzix 13y agoIt's an interesting method, reminded me of vimtutor.