顯示廣告
隱藏 ✕
※ 本文為 cuteman0725 轉寄自 ptt.cc 更新時間: 2011-11-08 00:51:02
看板 Ruby
作者 myua7 (黑蛇家族 - Myuangle)
標題 [問題] 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:這篇文章熱情奔放,創意無限 > quit1F 02/05 11:27
poopoo888888:推這篇! 跟大家分享了許多觀念哩!我覺得Ruby之父2F 02/05 15:11
poopoo888888:寫的書就很棒!
poopoo888888:「Ruby Programming 向Ruby之父學程式設計」
poopoo888888:(我推文有按錯 有點怪怪的@@)
superchris:Introduction to Algorthms6F 02/06 03:53
superchris:Introduction to Algorthms-A creative approach
superchris:上面這本是進階本,中文翻譯為:建構式演算法
superchris:資料結構:Fundamental of data structure in C
myua7:s大提到的第一本超有名的@@!!!10F 02/06 09:18

--
※ 看板: P_qman 文章推薦值: 0 目前人氣: 0 累積人氣: 572 
r)回覆 e)編輯 d)刪除 M)收藏 ^x)轉錄 同主題: =)首篇 [)上篇 ])下篇
看板名稱: 確定(Enter) 取消(Esc) 搜尋(Space)
查詢帳號: 確定(Enter) 取消(Esc) 搜尋(Space)
搜尋: m)m文 b)進板 c)未分類 a)作者 /)標題 q)取消?[q]

搜尋 送出(Enter) 取消(Esc)

回覆文章至: f)看板 m)作者信箱 b)兩者皆是 q)取消?[f]
要引用原文嗎? y)引用原文 n)不引用 a)全部回覆 r)複製原文 q)取消?[y]
轉錄本文章於看板: 1)使用連結 2)使用複製 q)取消 ?[1]
轉寄至站內信箱於使用者: 確定(Enter) 取消(Esc)
轉寄至站內信箱於使用者: 確定(Enter) 取消(Esc)
修改文章標題為: 確定(Enter) 取消(Esc)
修改文章標題為: 確定(Enter) 取消(Esc) 全部(a)

確定要刪除這篇文章?(可按大U救回) 確定(Enter) 取消(Esc)

刪除理由:

確定(Enter) 取消(Esc)
加到這個分類: 確定(Enter) 下一層(→) 回上層(←) 取消(Esc)
你覺得這篇文章: 1)真讚 2)真瞎 q)取消?[1] (再選一次即可收回)
你覺得這篇文章: 1)值得推薦 2)表示反對 3)單純註解 q)取消?[3]
guest
預覽(Enter) 取消(Esc)
上傳圖片
按ctrl+Enter可輸入下一行。
guest
確定要送出? 確定(Enter) 取消(Esc) 繼續(e)
搜尋: 送出(Enter) 取消(Esc)

▏▎▍▌▋▊▉ 請按任意鍵繼續