Please log in to watch this conference skillscast.
Learning the syntax is just the first step towards mastering a new language. Idiomatic expressions and good practices must also be adopted to produce code that is readable and performant. Without guidance on its specific style, you can quickly develop habits that could cause your application to be difficult to reason about and maintain. In this talk, Daniela will analyse snippets of code and highlight common Scala anti-patterns that make them difficult to understand. You will also explore how to refactor them to improve their readability. At the end of this session, you are going to be able to recognise code smells and refactor your code to make it easier to reason about and maintain, as well as avoid common pitfalls and possible bugs.
YOU MAY ALSO LIKE:
- A Pragmatic Introduction to Category Theory (SkillsCast recorded in December 2017)
- Test Driven Development (TDD) Workshop with Damjan Vujnovic (in London on 18th - 19th July 2019)
- Functional Concurrency in .NET with C# and F# (in London on 9th - 10th September 2019)
- Haskell eXchange 2019 (in London on 10th - 11th October 2019)
- Clojure eXchange 2019 (in London on 2nd - 3rd December 2019)
- Hands-on: Fractal art with Fable and WebGL (in London on 20th June 2019)
- Keynote by Dick Wall on Why API Design Matters, and Why Yours Sucks! (and mine sucks too!) (in London on 24th June 2019)
- The Elements of Tagless Final Style (SkillsCast recorded in May 2019)
- Scala 2.13 and Beyond! (SkillsCast recorded in April 2019)
Refactor All the Things!
Daniela Sfregola is a Software Engineer, currently working at Morgan Stanley. She is an active contributor to the Scala Community, as well the maintainer of a few open source projects and organizer of the London Scala User Group meetup. She is writing a book with Manning Publications, titled "Get Programming with Scala".