Home > Store

Lesson 2: Data and Control Flow

Lesson 2: Data and Control Flow

Downloadable Video

  • Your Price: $29.74
  • List Price: $34.99
  • About this video
  • Accessible from your Account page after purchase. Requires the free QuickTime Player software.

    Videos can be viewed on: Windows 8, Windows XP, Vista, 7, and all versions of Macintosh OS X including the iPad, and other platforms that support the industry standard h.264 video codec.

Additional sample videos, individual lessons and other formats are available here.

Register your product to gain access to bonus material or receive a coupon.

Audio & Video

Your browser doesn't support playback of this video. Please download the file to view it.

Actual product comes full screen and in high resolution.


  • Copyright 2013
  • Edition: 1st
  • Downloadable Video
  • ISBN-10: 0-13-346233-1
  • ISBN-13: 978-0-13-346233-3

Data and Control Flow covers the basics of declaring variables and evaluating expressions in the Scala interpreter. The lesson talks about type inference, which spares developers the burden of writing repetitive type signatures all over the code.  The lesson helps viewers to understand how expressions compose cleanly into methods, as well as a new, powerful kind of expression called pattern matching, and it explores how most of the familiar control-flow structures such as “try-catch” blocks and even “for” loops can be treated as composable expressions.  At the end of the lesson, Eclipse is used to implement a simple calculator application.


Submit Errata

More Information

Unlimited one-month access with your purchase
Free Safari Membership