作者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
推 yzugsr:這篇文章熱情奔放,創意無限 > quit 02/05 11:27
推 poopoo888888:推這篇! 跟大家分享了許多觀念哩!我覺得Ruby之父 02/05 15:11
推 poopoo888888:寫的書就很棒! 02/05 15:13
→ poopoo888888:「Ruby Programming 向Ruby之父學程式設計」 02/05 15:13
→ poopoo888888:(我推文有按錯 有點怪怪的@@) 02/05 15:14
推 superchris:Introduction to Algorthms 02/06 03:53
→ superchris:Introduction to Algorthms-A creative approach 02/06 03:54
→ superchris:上面這本是進階本,中文翻譯為:建構式演算法 02/06 03:54
→ superchris:資料結構:Fundamental of data structure in C 02/06 03:55
→ myua7:s大提到的第一本超有名的@@!!! 02/06 09:18