“It is hands-down one of the best programming texts/tutorials I have ever seen.”
Chris Pine 用 Ruby 讲编程入门,从最基本的数字、字符串和变量,讲到流程控制、方法和对象,语气轻松,节奏舒缓。教程里有不少可以自己动手解决的小任务,几小时就能跟着走完一遍。它后来被扩展成 Pragmatic Programmers 出版的书,网上这一版是免费的原始教程。
HN 上的人常把它推荐给零基础的朋友或孩子,认为它是学编程和 Ruby 的温和起点,易读、有动手任务,有人说是最好的编程教程之一。
零基础、想用 Ruby 入门编程的人
怎么读
由 Claude 根据这本书和 HN 上的说法整理,可能有错- 1从头顺序读,每章都亲手敲例子
- 2多做每章的小练习,别只看不写
- 3读完后转向 Ruby 或 Rails 的更深入教材
- 4有人陪着读效果更好,两个小时就能带完
HN 书评
推荐在前,同类按时间 · 每本最多保留 20 条,统计用全部提及 · 作者本人贴的不算“I'm trying to learn programming with zero experience too, and highly recommend book "Learn to Program". It was worth every hour”
“The book is an easy read, moves along well, and best of all, the entire book in one huge Ruby script”
“I've always liked Chris Pine's tutorial, because you can go through them with someone who's paying attention in about two hours.”
“I think the kid need would know a bit more math first (than a typical 8 year old would) and then move to something like Learn to Program”
“My fiance is learning to program, through the excellent Learning To Program.”
看全部 20 条 →
“Out of the tutorials that I did, this one[1] was the one I liked most, as it had a lot of cool tasks that you could just try and solve for yourself, it really helped me get the basics down.”
“The tutorial that later got expanded into the Prag Prog book is available free online: Learn to Program”
“I've been reading through Learn to Program on the suggestion of a couple commenters on the post, and I'm pretty impressed so far.”
“There are a few e-books online that teach Rails and Ruby. For Rails, check out (链接). For Ruby, go to Learn to Program.”
“For an introduction to programming and Ruby at the same time, Chris Pine's Learn to Program is excellent.”
“TryRuby (链接) and Learn to Program Learn to Program are better places to start.”
“It was good for me that my first contact with ruby was the very soft (链接) and the second one was Chris Pine's book Learn to Program”
“For the backend stuff... read this one: Learn to Program which is a very simple introduction to ruby.”
“Your first stop should be to Rails for Zombies ((链接)), buy Michael Hartl's book Ruby on Rails Tutorial ((链接)), Learn to Program by Chris Pine”
“If you'd like to learn basic programming concepts right away, check out Pine's 'Learn to Program'”
“There's a book called Learn to Program written by Chris Pine which is an amazing beginning to getting into Ruby.”
“As a complete beginner, I've found both to be very accessible”
“Chris Pine's book Learn to Program has a good reputation, and it tackles both of your goals: learning to program, and learning Ruby.”
“I think there are quite a few good tutorials for Ruby and Ruby on Rails too, perhaps you already know some of them like”