3 ms·
I started with BASIC when I was 7, so I'd say yes, absolutely. The four lessons walk you through a tour of what Hackety can do, the concepts of programming via
by steveklabnik 16y ago
I started with BASIC when I was 7, so I'd say yes, absolutely. The four lessons walk you through a tour of what Hackety can do, the concepts of programming via LOGO, basic programming in Ruby, and then simple things with Shoes. I've got a bunch of examples, too... you can check them out on GitHub directly, and see how you feel about them:
Lessons: https://github.com/hacketyhack/hacketyhack/tree/master/lessons https://github.com/hacketyhack/hacketyhack/tree/master/lesso...
Samples: https://github.com/hacketyhack/hacketyhack/tree/master/samples https://github.com/hacketyhack/hacketyhack/tree/master/sampl...
The biggest thing is that it's just Ruby, with a bunch of libraries. I still need to come up with a good solution for STDIN and STDOUT, but it's all just Ruby 1.9.1.
- rick_2047 16y agoIt's nice that you have a very easy API to make lessons, maybe someone can port _why's poignant guide to ruby as a Interactive Fiction to hackety hack. Q: is there a way to add pictures?
- steveklabnik 16y agoYep, I include a picture of Matz in the Ruby one: https://github.com/hacketyhack/hacketyhack/blob/master/lessons/basic_ruby.rb#L51 https://github.com/hacketyhack/hacketyhack/blob/master/lesso... You can also just use a URL from the web, and the first time the program runs, it downloads and caches it.