简体   繁体   中英

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?

  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).

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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM