Scala - What Makes the Difference - Part 2

13
Scala What Makes the Difference? Part 2 – Code Examples Jakub Janeček

description

Part two of the "Scala - What Makes the Difference" presentation with interesting Scala code examples by Jakub Janeček. The presentation was held at Faculty of Information Technology in Prague on April 8th.

Transcript of Scala - What Makes the Difference - Part 2

Page 1: Scala - What Makes the Difference - Part 2

Scala What Makes the Difference?

Part 2 – Code Examples

Jakub Janeček

Page 2: Scala - What Makes the Difference - Part 2

Values & Variables

Page 3: Scala - What Makes the Difference - Part 2

Methods & Functions

Page 4: Scala - What Makes the Difference - Part 2

Classes, Objects & Traits

Page 5: Scala - What Makes the Difference - Part 2

Collections Library Java:

Scala:

Page 6: Scala - What Makes the Difference - Part 2

Type Option

Page 7: Scala - What Makes the Difference - Part 2

Pattern Matching

Page 8: Scala - What Makes the Difference - Part 2

Currying

Page 9: Scala - What Makes the Difference - Part 2

Implicit Parameters

Page 10: Scala - What Makes the Difference - Part 2

Implicit Conversions

Page 11: Scala - What Makes the Difference - Part 2

Traits

Page 12: Scala - What Makes the Difference - Part 2

Flexible Syntax - DSL

Page 13: Scala - What Makes the Difference - Part 2

Flexible Syntax - DSL