书名:Seven Languages in Seven WeeksAPragmaticGuidetoLearningProgrammingLanguages
作者:[美]BruceA·Tate
译者:
ISBN:9781934356593
出版社:PragmaticBookshelf
出版时间:2010-10-10
格式:epub/mobi/azw3/pdf
页数:328
豆瓣评分: 7.8
书籍简介:
Ruby, Io, Prolog, Scala, Erlang, Clojure, Haskell. With Seven Languages in Seven Weeks, by Bruce A. Tate, you'll go beyond the syntax-and beyond the 20-minute tutorial you'll find someplace online. This book has an audacious goal: to present a meaningful exploration of seven languages within a single book. Rather than serve as a complete reference or installation guide, Seven Languages hits what's essential and unique about each language. Moreover, this approach will help teach you how to grok new languages. For each language, you'll solve a nontrivial problem, using techniques that show off the language's most important features. As the book proceeds, you'll discover the strengths and weaknesses of the languages, while dissecting the process of learning languages quickly–for example, finding the typing and programming models, decision structures, and how you interact with them. Among this group of seven, you'll explore the most critical programming models of our time. Learn the dynamic typing that makes Ruby, Python, and Perl so flexible and compelling. Understand the underlying prototype system that's at the heart of JavaScript. See how pattern matching in Prolog shaped the development of Scala and Erlang. Discover how pure functional programming in Haskell is different from the Lisp family of languages, including Clojure. Explore the concurrency techniques that are quickly becoming the backbone of a new generation of Internet applications. Find out how to use Erlang's let-it-crash philosophy for building fault-tolerant systems. Understand the actor model that drives concurrency design in Io and Scala. Learn how Clojure uses versioning to solve some of the most difficult concurrency problems. It's all here, all in one place. Use the concepts from one language to find creative solutions in another-or discover a language that may become one of your favorites.
作者简介:
(Biography)
I started in this industry back in 1985, as a co-op with IBM in Austin. I joined IBM full time in 1987, and spent 13 years with them. I later left to join a startup, and ultimately started my own business where I focus on helping customers build software with lightweight technologies.
I've been writing technical books for more than 10 years now, with the last 7 coming since 2000. I write for the love of the craft.
Others have told me that my fundamental strength as an author is the ability to quickly recognize emerging trends. I do tend to find emerging frameworks just as they become popular, and that skill is a mixed blessing that–combined with my complete lack of political tact–gets me in trouble sometimes, as it did with Bitter Java (Java is too hard), Beyond Java (Java is not going to last forever), and most recently, From Java to Ruby: Things Every Manager should Know (there's a better language for some problems, but our managers don't know it yet.)
My promise to you is this: I will always seek to find better ways to do things, and will work hard to tell you the truth, without regard for any notion of political correctness. Thanks for reading.
书友短评:
@ 爱是寂寞人 想法确实很好,执行上差了点,下一版估计会很不错。Scala这几年大行其道不是偶然啊。Java虽然被吐槽了十年,JVM却越来越主宰互联网了。看完之后最想认真学一下的,一是Scala,二是Haskell。Clojure的Syntax对于没有Lisp背景的人来说还是稍微难接受了点。本科的时候经常听到的说法是,语言不重要,老师们尤其喜欢讲这句话。后来无论是看Joel,Paul Graham还是这本7语言,基本都是在颠覆这个说法。 @ ¥ifan 终章对于编程范式转化的梳理短小精悍。重新燃起了写 Haskell 的欲望! @ halamourinho 给三星吧。可能限于篇幅,每个语言讲得都比较粗,但是最大的语言特性基本都提及到了。看到中后面有点乏味因为都是差不多的东西,直到haskell的monad才又激发了兴趣。 @ 粗人 飞机上的快餐 @ Eric 可以感受一下几种语言的特点,但不能细读 @ 地中海胖叔 介绍的一般。帮助我开阔了视野。
Changes 9
Beta 2.0 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
Foreword 10
1 Introduction 13
1.1 Method to the Madness . . . . . . . . . . . . . . . . . . 13
1.2 The Languages . . . . . . . . . . . . . . . . . . . . . . . 15
1.3 Buy this Book… . . . . . . . . . . . . . . . . . . . . . . . 17
1.4 Don’t Buy this Book… . . . . . . . . . . . . . . . . . . . 18
1.5 Acknowledgements . . . . . . . . . . . . . . . . . . . . . 21
1.6 A final charge . . . . . . . . . . . . . . . . . . . . . . . . 22
2 Ruby 23
2.1 Quick history . . . . . . . . . . . . . . . . . . . . . . . . 24
2.2 Day 1: Finding a nanny . . . . . . . . . . . . . . . . . . 25
2.3 Day 2: Floating down from the sky . . . . . . . . . . . . 33
2.4 Day 3: Serious change . . . . . . . . . . . . . . . . . . . 45
2.5 Wrapping Up Ruby . . . . . . . . . . . . . . . . . . . . . 52
3 Io 56
3.1 Io . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 56
3.2 Day 1: Skipping school, hanging out . . . . . . . . . . . 57
3.3 Day 2: The Sausage King . . . . . . . . . . . . . . . . . 68
3.4 Day 3: The Parade and Other Strange Places . . . . . . 75
3.5 Wrapping Up Io . . . . . . . . . . . . . . . . . . . . . . . 84
4 Prolog 88
4.1 About Prolog . . . . . . . . . . . . . . . . . . . . . . . . . 89
4.2 Day 1. An excellent driver. . . . . . . . . . . . . . . . . . 89
4.3 Day 2: Fifteen Minutes to Wapner . . . . . . . . . . . . 101
4.4 Day 3: Blowing up Vegas . . . . . . . . . . . . . . . . . . 112
4.5 Wrapping Up . . . . . . . . . . . . . . . . . . . . . . . . . 123
5 Scala 127
5.1 About Scala . . . . . . . . . . . . . . . . . . . . . . . . . 127
5.2 Day 1: The Castle on the Hill . . . . . . . . . . . . . . . 131
5.3 Day 2: Clipping bushes and other new tricks . . . . . . 146
5.4 Day 3: Cutting through the fluff . . . . . . . . . . . . . 159
5.5 Wrapping Up Scala . . . . . . . . . . . . . . . . . . . . . 167
6 Erlang 172
6.1 Introducing Erlang . . . . . . . . . . . . . . . . . . . . . 172
6.2 Day 1: Appearing Human . . . . . . . . . . . . . . . . . 176
6.3 Day 2: Changing Forms . . . . . . . . . . . . . . . . . . 186
6.4 Day 3: The Red Pill . . . . . . . . . . . . . . . . . . . . . 197
6.5 Wrapping Up Erlang . . . . . . . . . . . . . . . . . . . . 208
7 Clojure 212
7.1 Coming Soon… . . . . . . . . . . . . . . . . . . . . . . . 212
8 Haskell 213
8.1 Coming Soon… . . . . . . . . . . . . . . . . . . . . . . . 213
9 Wrap up 214
9.1 Coming Soon… . . . . . . . . . . . . . . . . . . . . . . . 214
A Bibliography 215
Index 216
· · · · · ·
添加微信公众号:好书天下获取
评论前必须登录!
注册