Talk:Scala (programming language)
From Wikipedia, the free encyclopedia
This page is a copy of the "Scala programming language" page linked at the bottom, almost word-for-word.
[edit] Promotion.
Seems to me that this article is a bit too promoting of the Scala language. A more neutral p-o-w would be in place.
Which parts specifically do you think should be changed? -- Phouk
12.27.255.133 21:51, 27 September 2007 (UTC) The Scala homepage doesn't say anything about .Net, just the JVM...
See point 5.2 in the faq (http://www.scala-lang.org/docu/faq.html#id2244551): Q: Does Scala work on .NET? A: There are plans for Scala to run on .NET, and the previous version of Scala ran on .NET, but the current version does not. While .NET has many similarities to Java, it has enough idiosyncrasies that the port is non-trivial. -- Phouk
As of May 6, 2008, supporting the .NET backend is a current focus of the Scala team. This feature did languish for a while. —Preceding unsigned comment added by 128.197.41.105 (talk) 16:29, 7 May 2008 (UTC)
[edit] Quick sort example
I propose the following variant of quick sort, which uses List.partition
and does a slightly simpler concatenation. I think it is easier to understand.
def qsort(l: List[Int]): List[Int] = { l match { case Nil => l case pivot :: tail => { val (lt, gte) = tail.partition(_ < pivot) qsort(lt) ::: pivot :: qsort(gte) } } }
Opinions?
--DavidBiesack (talk) 22:17, 7 February 2008 (UTC)