Styling your Scala code !
“I have never seen elegance go out of style” – SONYA TECLAI
Scala (The Beast) has imported efficiency and elegance to the programming world by combining coziness of object oriented programming with the magic of functional programming. This blog illuminates the work of Ólafur Páll Geirsson who has done a great job of styling the beast. In the bulk below I will discuss my experience of using Scalafmt, its installation process and some of its cool code styling features. Stuff we would be using in this blog
- Editor -> Intellij (v 2017)
- Build Tool -> sbt (v 0.13.15)
- Language -> Scala (v 2.12.1)
One of the most important aspect of good code is its readability which comes with good and standard formatting. Ever wondered how an entire project having around 1000 Scala files of poorly formatted code could be formatted without having a headache? Well going shft + ctrl + alt…
View original post 634 more words