Computing Reviews
Today's Issue Hot Topics Search Browse Recommended My Account Log In
Review Help
Search
Beginning Scala
Pollak D., Apress, Berkeley, CA, 2009. 350 pp. Type: Book (9781430219897)
Date Reviewed: Jan 4 2010

Scala--a new programming language--can be compared with Java and Ruby, but it has many improved features. A section of chapter 2 shows the differences between Scala and Java or Ruby. Scala can be run as a command line, as a script, or as a compiled program.

The book starts with instructions for installing Scala (chapter 1), and then provides simple programming examples (chapter 2). Most of the book consists of programming examples and their results. Scala uses lists to build immutable data structures (chapter 3), which improve thread safety. Functions can be passed as parameters (chapter 4). Chapter 5 describes pattern matching, which is a big extension of the Java switch statement. Chapter 6 is about the use of Scala actors, as a way to solve concurrency problems. This is a better solution than the Java synchronized keyword. Chapter 7 shows that Scala is better than other languages for writing libraries, because the application programming interfaces (APIs) are safer to use. Scala also has strong support for parsing (chapter 8). The book shows how to write a parser from ECMAScript to JavaScript Object Notation (JSON). A big advantage for team integration is that Scala compiles to Java Virtual Machine (JVM) bytecode and works with Java libraries; this way, some members of a Java team can start to write in Scala, without impacting the integration (chapter 9).

The presentation throughout the book is lighthearted; Pollak shows, in a humorous way, how he feels when he programs something in Scala, compared to other languages. The last sentence of the book states that “Scala makes it easier for coders to implement architecturally solid design than does Java or Ruby.”

This is a very interesting book about many aspects of programming and their implementation in Scala.

Reviewer:  Claudiu Popescu Review #: CR137606 (1012-1203)
Bookmark and Share
  Featured Reviewer  
 
Object-Oriented Languages (D.3.2 ... )
 
 
Java (D.3.2 ... )
 
Would you recommend this review?
yes
no
Other reviews under "Object-Oriented Languages": Date
Understanding object-oriented: a unifying paradigm
Korson T., McGregor J. (ed) Communications of the ACM 33(9): 40-60, 1990. Type: Article
May 1 1991
From Fortran and Algol to object-oriented languages
Wilkes M. Communications of the ACM 36(7): 21-23, 1993. Type: Article
Nov 1 1994
Object-oriented programming with prototypes
Blaschek G., Springer-Verlag New York, Inc., New York, NY, 1994. Type: Book (9780387564692)
Feb 1 1995
more...

E-Mail This Printer-Friendly
Send Your Comments
Contact Us
Reproduction in whole or in part without permission is prohibited.   Copyright 1999-2024 ThinkLoud®
Terms of Use
| Privacy Policy