Ruby語言的魅力到底何在?它適合你嗎?問自己:你是否對(duì)其他編程語言里各種額外的聲明、關(guān)鍵字和復(fù)雜步驟感到厭煩?你是否想成為生產(chǎn)效率更高的程序員?如果答案是肯定的,那么你將熱愛Ruby編程語言。
基于《深入淺出Ruby(影印版)》獨(dú)特的實(shí)戰(zhàn)學(xué)習(xí)體驗(yàn),你將發(fā)現(xiàn)Ruby如何為你簡化所有繁雜細(xì)節(jié),讓你只是簡單地享受編程樂趣,并用更少代碼完成很多任務(wù)。
基于新認(rèn)知科學(xué)和學(xué)習(xí)理論研究成果,《深入淺出Ruby(影印版)》運(yùn)用一種豐富可視的形式吸引你深度浸入,這與滿篇文字讓你昏昏欲睡截然不同。為什么要浪費(fèi)時(shí)間與新概念們作斗爭呢?這種多感官的學(xué)習(xí)體驗(yàn)是為了大腦有效運(yùn)作而設(shè)計(jì)的。
Intro
1 More with less: Code the Way You Want
2 Methods and classes: Getting Organized
3 Inheritance: Relying on Your Parents
4 Initializing instances: Off to a Great Start
5 Arrays and blocks: Better Than Loops
6 Block return values: How Should I Handle This?
7 Hashes: Labeling Data
8 References: Crossed Signals
9 Mixins: Mix It Up
10 Comparable and enumerable: Ready-Made Mixes
11 Documentation: Read the Manual
12 Exceptions: Handling the Unexpected
13 Unit testing: Code Quality Assurance
14 Web apps: Serving HTML
15 Saving and loading data: Keep ItAround
i Leftovers: The Top Ten Topics (We Didn't Cover)
查看全部↓