作者myua7 (黑蛇家族 - Myuangle)
看板Ruby
标题[问题] Ruby入门建议的书籍
时间Fri Feb 4 19:01:15 2011
环境: Ruby 1.8/1.9
e.g. Ruby 1.8.x? Rails 1.2.3? 2.0.x?
状况:
class Poster
def initialize
@booklist = Array.new()
end
def appendlist(arg)
@booklist.push(arg)
end
def listout
@booklist.each {|i| puts i}
end
end
originalposter = Poster.new
puts "最近想开始学习Ruby,在下称不上程式底子很好,但基本的是有一些"
puts "最近买了The Ruby Programming Language和Ruby程式设计密技268"
puts "前者确实不错,但吃起来有点乾涩。"
puts "後者则是写法感觉很诡异,虽然偶尔方便但好像有很多漏光的地方。"
while true
print "诚徵Ruby新手入门书籍推荐> "; bookname = gets.chomp!
break if bookname == "quit"
originalposter.appendlist("#{bookname}")
end
附录:
想顺便问有没有学习演算法和资料结构的推荐书籍XD,感谢。
--
※ 发信站: 批踢踢实业坊(ptt.cc)
◆ From: 125.231.214.25
1F:推 yzugsr:这篇文章热情奔放,创意无限 > quit 02/05 11:27
2F:推 poopoo888888:推这篇! 跟大家分享了许多观念哩!我觉得Ruby之父 02/05 15:11
3F:推 poopoo888888:写的书就很棒! 02/05 15:13
4F:→ poopoo888888:「Ruby Programming 向Ruby之父学程式设计」 02/05 15:13
5F:→ poopoo888888:(我推文有按错 有点怪怪的@@) 02/05 15:14
6F:推 superchris:Introduction to Algorthms 02/06 03:53
7F:→ superchris:Introduction to Algorthms-A creative approach 02/06 03:54
8F:→ superchris:上面这本是进阶本,中文翻译为:建构式演算法 02/06 03:54
9F:→ superchris:资料结构:Fundamental of data structure in C 02/06 03:55
10F:→ myua7:s大提到的第一本超有名的@@!!! 02/06 09:18