I've almost completed the scala book, and I want some nice code sample that would help me solidify what I have learned.
Is there anything on github that you can recommend?
Preferably some sort of library that I could learn from, maybe an API wrapper? or maybe something else that you recommend?
My advice is to not just look at code examples, but dive in and start coding. You can read all the code in the world and at the end of the day still not have a clue how to write even the simplest function. Try solving some of the Project Euler problems, even the simple ones should quickly help you build your confidence.
Here's a link to my solution for Project Euler #42 using Scala and Akka actors. It's a pretty simple problem, but forcing myself to solve it using actors taught me a lot how to work with them and learn about other Scala peculiarities.
Personally I've learned a fair amount by looking at a few projects. The Lift framework's source code is actively being developed and there's tons of stuff to look at. when I started using Specs2 I used some of their tests as learning tools.
I first learned about Scala from using Twitter's Kestrel project, its code (as well as related projects) have lots of things to look at as well.
Also, when I was learning how to use Akka, I found this basic example of setting up an Akka web application to be invaluable. It also helped learning how to properly setup SBT
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With