Konstantin Solomatov
Konstantin Solomatov

Reputation: 10352

Good examples of idiomatic scala code

Scala is a large and complex language. In my experience, the best way to learn such a language is to read really good code. Are there any open source examples of such code? What can you recommend?

Upvotes: 19

Views: 10052

Answers (2)

Alexey Romanov
Alexey Romanov

Reputation: 170805

  1. Scalaz. Be aware that it's written in a far more functional style than most Scala code.

  2. Twitter Util (already mentioned in @axel22's answer).

Upvotes: 10

axel22
axel22

Reputation: 32335

The Scala standard library should be pretty idiomatic in most places. The Scala Swing library is another example.

Usually people who write various frameworks know what they are doing and are experts in Scala. Frameworks such as Akka or Play are good examples of this. Twitter's projects are another.

Upvotes: 8

Related Questions