Programming Scala Scalability = Functional Programming + Objects 21093

Learn how to be more productive with Scala, a new multi-paradigm language for the Java Virtual Machine (JVM) that integrates features of both object-oriented and functional programming. With this book, you'll discover why Scala is ideal for highly scalable, component-based applications that support concurrency and distribution. Programming Scala clearly explains the advantages of Scala as a JVM language. You'll learn how to leverage the wealth of Java class libraries to meet the needs of practical enterprise and Internet projects more easily. Packed code with examples, this book provides useful information on Scala's command-line tools, third-party tools, libraries, and available language-aware plugins for editors and IDEs. Learn how Scala's succinct and flexible code helps you program faster Discover the notable improvements Scala offers over Java'object model s Get a concise overview of functional programming, and learn how Scala's support for it offers a better approach to concurrency Know how to use mixin composition with traits, pattern matching, concurrency with Actors, and other features essential Take advantage of Scala's built-in support for XML Learn how to develop domain-specific languages Understand the basics for designing test-driven Scala applications Купити книгу Programming Scala Scalability = Functional Programming + Objects

Chapter 1 : Zero to Sixty: Introducing Scala
Why Scala?
Installing Scala
For More Information
A Taste of Scala
A Taste of Concurrency
Recap and what's Next
Chapter 2 : Type Less, Do More
In This Chapter
Semicolons
Variable Declarations
Method Declarations
Inferring Type Information
Literals
Tuples
Option, Some, and None: Avoiding nulls
Organizing Code in Files and Namespaces
Importing Types and Their Members
Abstract Types And Parameterized Types
Reserved Words
Recap and what's Next
Chapter 3 : Rounding Out the Essentials
Operator? Operator?
Methods Without Parentheses and Dots
Domain-Specific Languages
Scala if Statements
Scala for Comprehensions
Other Looping Constructs
Conditional Operators
Pattern Matching
Enumerations
Recap and what's Next
Chapter 4 : Traits
Introducing Traits
Stackable Traits
Constructing Traits
Recap and what's Next
Chapter 5 : Basic Object-Oriented Programming in Scala
Class and Object Basics
Parent Classes
Constructors in Scala
Nested Classes
Visibility Rules
Recap and what's Next
Chapter 6 : Advanced Object-Oriented Programming In Scala
Overriding Members of Classes and Traits
Companion Objects
Case Classes
Equality of Objects
Recap and what's Next
Chapter 7 : The Scala Object System
The Predef Object
Classes and Objects: Where Are the Statics?
Sealed Class Hierarchies
The Scala Type Hierarchy
Linearization of an object's Hierarchy
Recap and what's Next
Chapter 8 : Functional Programming in Scala
What Is Functional Programming?
Functional Programming in Scala
Recursion
Tail Calls and Tail-Call Optimization
Functional Data Structures
Traversing, Mapping, Filtering, Folding, and Reducing
Pattern Matching
Partial Functions
Currying
Implicits
Implicit Function Parameters
Call by Name, Call by Value
Lazy Vals
Recap: Functional Component Abstractions
Chapter 9 : Robust, Scalable Concurrency with Actors
The Problems of Shared Synchronized State
Actors
Actors in Scala
Traditional Concurrency in Scala: Threading and Events
Recap and what's Next
Chapter 10 : Herding XML in Scala
Reading XML
Writing XML
Recap and what's Next
Chapter 11 : Domain-Specific Languages in Scala
Internal DSLs
External DSLs with Parser Комбінатори
Recap and what's Next
Chapter 12 : The Scala Type System
Reflecting on Types
Understanding Parameterized Types
Variance Under Inheritance
Type Bounds
Nothing and Null
Understanding Abstract Types
Path-Dependent Types
Value Types
Self-Type Annotations
Structural Types
Existential Types
Infinite Data Structures and Laziness
Recap and what's Next
Chapter 13 : Application Design
Annotations
Enumerations Versus Pattern Matching
Thoughts On Annotations and Enumerations
Using Nulls Versus Options
Exceptions and the Alternatives
Scalable Abstractions
Effective Design of Traits
Design Patterns
Better Design with Design By Contract
Recap and what's Next
Chapter 14 : Scala Tools, Libraries, and IDE Support
Command-Line Tools
Build Tools
Integration with IDEs
Test-Driven Development in Scala
Other Notable Scala Libraries and Tools
Java Interoperability
Java Library Interoperability
Recap and what's Next
Appendix : References
Glossary
Colophon

  • Автор
    Dean Wampler, Alex Payne
  • Категорія
    Програмування
  • Мова
    Англійська
  • Рік
    2009
  • Сторінок
    450
  • Формат
    145х215 мм
  • Термін поставки
    7-10 дней
740 ₴
Відділення Нова Пошта80 ₴
Поштомат Нова Пошта40 ₴
Кур’єр Нова Пошта120 ₴
Відділення УкрПошта50 ₴
Кур’єр за адресою90 ₴
{NAME}
21093
Залиште свій відгук про книгу,
допоможіть тим, хто ще не читав