Home > Store

Lesson 2: Data and Control Flow

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

Lesson 2: Data and Control Flow

Downloadable Video

  • Sorry, this book is no longer in print.
  • 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.

Not for Sale

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

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.

Description

  • 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.

Updates

Submit Errata

More Information

InformIT Promotional Mailings & Special Offers

I would like to receive exclusive offers and hear about products from InformIT and its family of brands. I can unsubscribe at any time.