Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is there a central site/page for "advanced Scala" topics?

Tags:

scala

Despite having read "Programming in Scala" several times, I still often finds important Scala constructs that were not explained in the book, like

@uncheckedVariance
@specialized

and other strange constructs like

new { ... }  // No class name!

and so on.

I find this rather frustrating, considering that the book was written by the Scala "inventor" himself, and others.

I tried to read the language specification, but it's made for academics, rather than practicing programmers. It made my head spin.

Is there a website for "Everything "Programming in Scala" Didn't Tell You" ?

There was the daily-scala Blog, but it died over a year ago.

like image 711
Sebastien Diot Avatar asked Aug 17 '11 18:08

Sebastien Diot


2 Answers

Currently, we're working on a central documentation site for scala-lang.org. We're hoping that this solves a lot of the documentation issues that new users face. More details on this effort can be found at http://heather.miller.am/blog/2011/07/improving-scala-documentation/, but in summary...

Believe it or not, there are a lot of documents that the Scala team has produced but which simply aren't in HTML or are otherwise difficult to find. Such as Martin's new Collections API, his document on Arrays, or Adriaan's on Type Constructor Inference.

One goal of such a site is to collect all of this documentation in one place, in a searchable, organized, and easy-to-navigate format.

Another goal is to collect excellent community documentation out there, and to put it in the same place as well. For that, we are actively looking for quality (article/overview-like) material with maintainers. Examples include the Scala Style Guide, and Daniel Spiewak's Scala for Java Refugees.

Yet another goal is to make it easy for contributors to participate- so the site is built from RST source, which will live in a documentation-only github repo at https://github.com/scala/scala-docs.

So, in short, something better is on it's way, and contributors are very welcome to participate.

EDIT: http://docs.scala-lang.org is now live.

Several documents considered to be rather detailed or even obscure are already available. This includes all "Scala Improvement Proposals" (the proposals produced when new language features are suggested, and which are usually very detailed, and written by the implementers themselves). Also available is the entire glossary from Programming in Scala, Scala cheatsheets, amongst many other documents. The bottom-line of the site is to be community-focused and contribution-friendly-- so, free, and totally open. Suggested topics to cover are also welcome.

like image 149
Heather Miller Avatar answered Oct 20 '22 07:10

Heather Miller


Take a look at scalaz and typelevel librairies (shapeless, spire, etc.), they rely on many advanced features of Scala.

*scalaz was for a time part of typelevel, but it is no more the case.

like image 22
Rhangaun Avatar answered Oct 20 '22 07:10

Rhangaun