This document summarizes a presentation on Scala pitfalls. It discusses issues like overly complex one-liner code, null values, excessive use of Options, implicit conversions, and modularity problems with the cake pattern. It provides alternatives to consider like Subcut and MacWire. The presentation emphasizes keeping code clean and readable, using Options and implicits carefully, allowing for compiler and IDE limitations, and being mindful of compilation performance for large Scala projects.
1 of 41
Downloaded 18 times
More Related Content
Scala pitfalls
1. Scala pitfalls
VSUG meetup 22.05.2013
Manuel Bernhardt - manuel@delving.eu - @elmanu
Thursday, May 23, 13
6. Orders of ignorance
0th Order Ignorance: Lack of Ignorance
1st Order Ignorance: Lack of Knowledge
2nd Order Ignorance: Lack of Awareness
3rd Order Ignorance: Lack of a Suitably
Ef鍖cient Process
4th Order Ignorance: Meta Ignorance
Thursday, May 23, 13
34. Cake pattern pitfalls
Initialization order
Initialization order
Compilation time overhead (traits)
Beautiful theory, less beautiful practice
Thursday, May 23, 13
35. Cake pattern pitfalls
Initialization order
Initialization order
Compilation time overhead (traits)
Beautiful theory, less beautiful practice
WAT?
Thursday, May 23, 13