Friday, June 6, 2014

Scala Trivial Refactoring Examples

Here at HootSuite, we use Scala for some of our applications. Some of our Scala developers have a Java/PHP background, while others have a background in Haskell. After writing Scala for a few years, we feel that we have (more or less) figured out a happy medium of how we should be writing Scala with a functional style we can all agree on.

This blog post will show the actual code examples we’ve come across while refactoring as part of our code review / pair programming sessions. This is production-level code, but I have simplified it to demonstrate the changes.

Read the post here

Leave a Reply

All Tech News IN © 2011 & Main Blogger .