Programming In Scala - Martin Odersky, Lex Spoon, Bill Venners

Programming In Scala

A Comprehensive Step-by-Step Guide
Buch | Softcover
LI, 852 Seiten
2011 | 2. Auflage
artima (Verlag)
978-0-9815316-4-9 (ISBN)
46,10 inkl. MwSt
  • Titel ist leider vergriffen;
    keine Neuauflage
  • Artikel merken
Martin Odersky is the creator of the Scala language. He is a professor at EPFL in Lausanne, Switzerland, and a founder of Scala Solutions Inc. He works on programming languages and systems, more specifically on the topic how to combine object-oriented and functional programming. Since 2001 he has concentrated on designing, implementing, and refining Scala. Previously, he has influenced the development of Java as a co-designer of Java generics and as the original author of the current javac reference compiler. He is a fellow of the ACM.

Lex Spoon is a software engineer at LogicBlox, Inc. He worked on Scala for two years as a post-doc at EPFL. He has a Ph.D. in computer science from Georgia Tech, where he worked on static analysis of dynamic languages. In addition to Scala, he has worked on a wide variety of programming languages, ranging from the dynamic language Smalltalk to the scientific language X10 to the logic language that powers LogicBlox. He and his wife currently live in Atlanta with two cats, a chihuahua, and a turtle.

Bill Venners is president of Artima, Inc., publisher of the Artima Developer website. He is author of the book, Inside the Java Virtual Machine, a programmer-oriented survey of the Java platform's architecture and internals. His popular columns in JavaWorld magazine covered Java internals, object-oriented design, and Jini. Active in the Jini Community since its inception, Bill led the Jini Community's ServiceUI project, whose ServiceUI API became the de facto standard way to associate user interfaces to Jini services. Bill is also the lead developer and designer of ScalaTest, an open source testing tool for Scala and Java developers.
Scala is an object-oriented programming language for the Java Virtual Machine. In addition to being object-oriented, Scala is also a functional language, and combines the best approaches to OO and functional programming.

In Italian, Scala means a stairway, or steps—indeed, Scala lets you step up to a programming environment that incorporates some of the best recent thinking in programming language design while also letting you use all your existing Java code.

This is a new edition of the best-selling book on Scala, written by the designer of the language, Martin Odersky. Co-authored by Lex Spoon and Bill Venners, this book takes a step-by-step tutorial approach to teaching you Scala. Starting with the fundamental elements of the language, Programming in Scala introduces functional programming from the practitioner's perspective, and describes advanced language features that can make you a better, more productive developer.

Martin Odersky is the creator of the Scala language. He is a professor at EPFL in Lausanne, Switzerland, and a founder of Scala Solutions Inc. He works on programming languages and systems, more specifically on the topic how to combine object-oriented and functional programming. Since 2001 he has concentrated on designing, implementing, and refining Scala. Previously, he has influenced the development of Java as a co-designer of Java generics and as the original author of the current javac reference compiler. He is a fellow of the ACM. Lex Spoon is a software engineer at LogicBlox, Inc. He worked on Scala for two years as a post-doc at EPFL. He has a Ph.D. in computer science from Georgia Tech, where he worked on static analysis of dynamic languages. In addition to Scala, he has worked on a wide variety of programming languages, ranging from the dynamic language Smalltalk to the scientific language X10 to the logic language that powers LogicBlox. He and his wife currently live in Atlanta with two cats, a chihuahua, and a turtle. Bill Venners is president of Artima, Inc., publisher of the Artima Developer website (www.artima.com). He is author of the book, Inside the Java Virtual Machine, a programmer-oriented survey of the Java platform's architecture and internals. His popular columns in JavaWorld magazine covered Java internals, object-oriented design, and Jini. Active in the Jini Community since its inception, Bill led the Jini Community's ServiceUI project, whose ServiceUI API became the de facto standard way to associate user interfaces to Jini services. Bill is also the lead developer and designer of ScalaTest, an open source testing tool for Scala and Java developers.

What Readers are Saying ii
Contents xii
List of Figures xxiii
List of Tables xxv
List of Listings xxvii
Foreword xxxv
Foreword to the First Edition xxxvii
Acknowledgments xxxix
Introduction xlii


1. A Scalable Language 50
2. First Steps in Scala 69
3. Next Steps in Scala 82
4. Classes and Objects 104
5. Basic Types and Operations 118
6. Functional Objects 140
7. Built-in Control Structures 160
8. Functions and Closures 185
9. Control Abstraction 208
10. Composition and Inheritance 223
11. Scala's Hierarchy 251
12. Traits 259
13. Packages and Imports 278
14. Assertions and Unit Testing 296
15. Case Classes and Pattern Matching 310
16. Working with Lists 345
17. Collections 378
18. Stateful Objects 400
19. Type Parameterization 423
20. Abstract Members 448
21. Implicit Conversions and Parameters 480
22. Implementing Lists 504
23. For Expressions Revisited 517
24. The Scala Collections API 534
25. The Architecture of Scala Collections 610
26. Extractors 634
27. Annotations 650
28. Working with XML 658
29. Modular Programming Using Objects 672
30. Object Equality 687
31. Combining Scala and Java 713
32. Actors and Concurrency 726
33. Combinator Parsing 762
34. GUI Programming 791
35. The SCells Spreadsheet 803

A. Scala scripts on Unix and Windows 828

Glossary 829
Bibliography 845
About the Authors 848

Index 849

Erscheint lt. Verlag 10.1.2011
Verlagsort Walnut Creek, Carlifornia
Sprache englisch
Gewicht 1140 g
Themenwelt Informatik Programmiersprachen / -werkzeuge Scala
Mathematik / Informatik Informatik Software Entwicklung
Schlagworte Scala (Programmiersprache)
ISBN-10 0-9815316-4-4 / 0981531644
ISBN-13 978-0-9815316-4-9 / 9780981531649
Zustand Neuware
Haben Sie eine Frage zum Produkt?