Ktl-icon-tai-lieu

No Starch Ruby By Example Concepts And Code

Được đăng lên bởi Cuong Vu
Số trang: 309 trang   |   Lượt xem: 2567 lần   |   Lượt tải: 1 lần
RUBY

E XPLORING
FUNCTIONAL
CODE

Baird’s examples demonstrate key features of the
language (such as inheritance, encapsulation, higherorder functions, and recursion), while simultaneously
solving difficult problems (such as validating XML,
creating a bilingual program, and creating commandline interfaces). Each chapter builds upon the next,
and each key concept is highlighted in the margin to
make it easier for you to navigate the book.
You’ll learn how to:
• Use the interactive Ruby shell (irb) to learn key
features of the language
• Extend Ruby using RubyGems, the Ruby package
manager
• Create numerical utilities, as well as utilities that
process and analyze HTML/XML
• Implement purely functional and metaprogramming
techniques to save time and effort

“ I L AY F L AT .”
This book uses RepKover — a durable binding that won’t snap shut.
Printed on recycled paper

• Create web applications using Rails
Ruby is the fastest growing programming language
today, and for good reason: Its elegant syntax
and readable code make for prolific and happy
programmers. But it can be difficult to understand
and implement without a little help. Ruby by Example
shows you how to take advantage of Ruby as you
explore Ruby’s fundamental concepts in action.
ABOUT THE AUTHOR

Kevin C. Baird received his Ph.D. from the State
University of New York at Buffalo. He originally wrote
his dissertation in Python but rewrote the project after
discovering Ruby, and he hasn’t looked back since.
He has presented at RubyConf and written articles
for Linux Journal, Music & Computers magazine, and
the New Interfaces for Musical Expression conference
proceedings.

$34.95 ($43.95 CDN)
SHELVE IN:
PROGRAMMING/RUBY

w w w.nostarch.com
®

• Create complex utilities that model natural selection,
discover mysterious patterns in the Bible (and in
Moby-Dick) that “predict” the future, and pick songs
to play for a radio station

CONCEPTS A ND CODE
KE VIN C. BAIRD

BAIRD

T H E F I N E ST I N G E E K E N T E RTA I N M E N T ™

• Optimize, profile, and test your code to make sure
that it not only does its job, but does it well

RUBY BY E X A MPLE

There may be no better way to learn how to program
than by dissecting real, representative examples written
in your language of choice. In Ruby by Example, author
Kevin Baird analyzes 44 Ruby scripts, offering step-bystep explanations of how the code works and how to
modify it to fit your needs.

BY E X AMPLE

®

RUBY BY EXAMPLE

RUBY BY EXAMPLE
Concepts and ...
There may be no better way to learn how to program
than by dissecting real, representative examples written
in your language of choice. In Ruby by Example, author
Kevin Baird analyzes 44 Ruby scripts, offering step-by-
step explanations of how the code works and how to
modify it to fit your needs.
Baird’s examples demonstrate key features of the
language (such as inheritance, encapsulation, higher-
order functions, and recursion), while simultaneously
solving difficult problems (such as validating XML,
creating a bilingual program, and creating command-
line interfaces). Each chapter builds upon the next,
and each key concept is highlighted in the margin to
make it easier for you to navigate the book.
You’ll learn how to:
Use the interactive Ruby shell (irb) to learn key
features of the language
Extend Ruby using RubyGems, the Ruby package
manager
Create numerical utilities, as well as utilities that
process and analyze HTML/XML
Implement purely functional and metaprogramming
techniques to save time and effort
www.nostarch.com
TH E FI N EST I N G E E K E N T E RTA I N M E NT
SHELVE IN:
PROGRAMMING/RUBY
$34.95 ($43.95 CDN)
®
Optimize, profile, and test your code to make sure
that it not only does its job, but does it well
Create complex utilities that model natural selection,
discover mysterious patterns in the Bible (and in
Moby-Dick) that “predict” the future, and pick songs
to play for a radio station
Create web applications using Rails
Ruby is the fastest growing programming language
today, and for good reason: Its elegant syntax
and readable code make for prolific and happy
programmers. But it can be difficult to understand
and implement without a little help. Ruby by Example
shows you how to take advantage of Ruby as you
explore Rubys fundamental concepts in action.
A B O U T T H E A U T H O R
Kevin C. Baird received his Ph.D. from the State
University of New York at Buffalo. He originally wrote
his dissertation in Python but rewrote the project after
discovering Ruby, and he hasn’t looked back since.
He has presented at RubyConf and written articles
for Linux Journal, Music & Computers magazine, and
the New Interfaces for Musical Expression conference
proceedings.
E X P L O R I N G
F U N C T I O N A L
C O D E
E X P L O R I N G
F U N C T I O N A L
C O D E
I LAY F L A T .
This book uses RepKover — a durable binding that wont snap shut.
Printed on recycled paper
R U B Y
B Y E X A M P L E
R U B Y
B Y E X A M P L E
K E V I N C . B A I R D
®
C O N C E P T S A N D C O D E
R U B Y B Y E X A M P L E
R U B Y B Y E X A M P L E
B A I R D
No Starch Ruby By Example Concepts And Code - Trang 2
Để xem tài liệu đầy đủ. Xin vui lòng
No Starch Ruby By Example Concepts And Code - Người đăng: Cuong Vu
5 Tài liệu rất hay! Được đăng lên bởi - 1 giờ trước Đúng là cái mình đang tìm. Rất hay và bổ ích. Cảm ơn bạn!
309 Vietnamese
No Starch Ruby By Example Concepts And Code 9 10 483