programming_scala_2e.pdf

(4154 KB) Pobierz
Scala
SCALABILITY = FUNCTIONAL
PROGRAMMING + OBJECTS
Programming
Dean Wampler & Alex Payne
2n
d
Ed
iti
on
Programming Scala
Get up to speed on Scala, the JVM language that offers all the benefits of
a modern object model, functional programming, and an advanced type
system. Packed with code examples, this comprehensive book shows
you how to be productive with the language and ecosystem right away,
and explains why Scala is ideal for today's highly scalable, data-centric
applications that support concurrency and distribution.
This second edition covers recent language features, with new chapters
on pattern matching, comprehensions, and advanced functional
programming. You’ll also learn about Scala’s command-line tools, third-
party tools, libraries, and language-aware plugins for editors and IDEs. This
book is ideal for beginning and advanced Scala developers alike.
Dean Wampler,
Ph.D. is the Big Data
Architect for Typesafe, where he
builds data-centric tools and services,
using Scala, functional programming,
Spark, Hadoop, and Akka. Dean is the
author of
Functional Programming
for Java Developers
and co-author of
Programming Hive.
Alex Payne
is Platform Lead at
Twitter, where he develops services
that enable programmers to build
atop the popular social messaging
service. Alex has previously built web
applications for political campaigns,
nonprofits, and early-stage startups.
Program faster with Scala’s succinct and flexible syntax
Dive into basic and advanced functional programming (FP)
techniques
Build killer big-data apps, using Scala’s functional combinators
Use traits for mixin composition and pattern matching for data
extraction
Learn the sophisticated type system that combines FP and
object-oriented programming concepts
Explore Scala-specific concurrency tools, including Akka
Understand how to develop rich domain-specific languages
Learn good design techniques for building scalable and robust
Scala applications
The example source code for this book is maintained in a public GitHub
repository.
SC AL A /JAVA /PROGR AMMING L ANGUAGES
Twitter: @oreillymedia
facebook.com/oreilly
US $49.99
CAN $52.99
ISBN: 978-1-491-94985-6
SECOND EDITION
Programming Scala
Dean Wampler and Alex Payne
Beijing
Boston Farnham Sebastopol
Tokyo
Programming Scala
by Dean Wampler and Alex Payne
Copyright © 2015 Kevin Dean Wampler and Alex Payne. All rights reserved.
Printed in the United States of America.
Published by O’Reilly Media, Inc., 1005 Gravenstein Highway North, Sebastopol, CA 95472.
O’Reilly books may be purchased for educational, business, or sales promotional use. Online editions are
also available for most titles (http://oreilly.com/safari). For more information, contact our corporate/insti‐
tutional sales department: 800-998-9938 or
corporate@oreilly.com.
Editor:
Meghan Blanchette
Production Editor:
Nicole Shelby
Copyeditor:
Kim Cofer
Proofreader:
Charles Roumeliotis
September, 2009:
November, 2014:
First Edition
Second Edition
Indexer:
Wendy Catalano
Interior Designer:
David Futato
Cover Designer:
Ellie Volckhausen
Illustrator:
Rebecca Demarest
Revision History for the Second Edition
2014-11-25:
2015-03-27:
2017-08-11:
First release
Second release
Third release
See
http://oreilly.com/catalog/errata.csp?isbn=9781491949856
for release details.
The O’Reilly logo is a registered trademark of O’Reilly Media, Inc.
Programming Scala,
the cover image,
and related trade dress are trademarks of O’Reilly Media, Inc.
While the publisher and the authors have used good faith efforts to ensure that the information and
instructions contained in this work are accurate, the publisher and the authors disclaim all responsibility
for errors or omissions, including without limitation responsibility for damages resulting from the use of
or reliance on this work. Use of the information and instructions contained in this work is at your own
risk. If any code samples or other technology this work contains or describes is subject to open source
licenses or the intellectual property rights of others, it is your responsibility to ensure that your use
thereof complies with such licenses and/or rights.
978-1-491-91949-6
[LSI]
To Everette Lawrence Wampler, August 28, 1931 - May 9, 2013.
—Dean
Zgłoś jeśli naruszono regulamin