Please log in to watch this conference skillscast.
As Scala gains increasing traction in OO developer communities, more and more Java developers are in the progress of making the move from being Imperative-comfortable to FP-fluent. Many are lured by the terser syntax, others by the promise of powerful high-level constructs, and more still by the thrill of challenging themselves and learning something almost entirely new to them. The problem however, is that for many their initial enthusiasm soon wears off and the realization of how much a mind-shift this really is sinks in.
In this session I will discuss in detail the key steps along a path which via much trial-and-error has proved for me to be effective in undertaking this transition. We'll begin at the base-camp of understanding (Java-concepts to let go of, the initially-unfamiliar syntax, the equally-unfamiliar maths idiom) and from there up into the lower foothills (the basics of the type system, infix notation, ""everything is an expression"" and referential transparency) before progressing on to the lower peaks of the language (Pattern-matching with case classes and partial functions) and ending at one significant Monadic taster (Option, map/flatMap and the for-comprehension).
For maximum benefit I'll also point out the pain points I encountered, techniques and resources I used to overcome these, and we'll end by mentioning next steps and further inroads into the language.
YOU MAY ALSO LIKE:
Bootstrapping a Scala Mindset
Andrew Harmel-Law
Andrew Harmel-Law is a Tech Principal with ThoughtWorks. Having started his tech career as with Sun Microsystems he is old enough to have witnessed the dot com boom and bust first hand. His latter experiences over the last fourteen years have been as a consultant. He has a particular interest in setting dev teams up for success; loves teaching and mentoring; and encouraging diversity in tech.