Wrapping Up

In this chapter, we discussed the static typing in Scala and its type inference capabilities. You learned about some important types in Scala and also how to take advantage of implicit conversions. These features make code concise and expressive, in addition to facilitating good type verification. With the understanding of typing, type inference, and the idiomatic style of writing methods, you’re all set to learn and enjoy concepts that lead to more conciseness in the next chapter.

Get Pragmatic Scala 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.