Appendix D. List of Scala tips in this book

This book is not intended to teach you Scala, but rather provides Scala tips along the way to help you along, under the assumptions that Scala may not be your first and most familiar language and that you may not have seen all the requisite Scala tricks before. For books on learning Scala, see appendix C.

Below is a list of the Scala tips sprinkled throughout the book:

Chapter 2

  • Underscores mean different things in different places... 27

Chapter 4

  • The object keyword ... 65
  • The apply() method ... 65
  • Type inference of return values ... 68
  • Type parameter for generics cannot be inferred ... 70
  • The Option[] class ... 72
  • Multiple imports on same line... 76
  • Backticks to escape reserved words... ...

Get Spark GraphX in Action now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.