A Google+ community for articles and discussions related to the Scala programming language.
See all
Members (5,049)

Stream

Simeon Fitch
moderator

Build Systems  - 
 
Great overview by +Josh Suereth on what's coming in SBT 1.0 (yes! 1.0!!). Personally excited about the modularity improvements, and client-server mode (paving the way for single, coherent, responsive build state management for all IDEs/editors). I also appreciated the highlighting of the strengths of SBT and the many powerful things it does for us behind the scene (that we often take for granted!).
16
8
Martin Mauch's profile photoFernando Benjamin's profile photoCarlos Guette's profile photoMichaël BENESTY's profile photo
2 comments
 
Great talk, and short (20mn). Thank you to have shared it! 
Add a comment...

Sebastian Nozzi

Articles, Podcasts, Talks  - 
 
 
"As developers come to understand what these features are and how they work, they will also develop a better appreciation of the more extensive support of functional programming that Scala provides." -- M. Odersky

#scala   #java   #jvm   #java8  
13
1
Simeon Fitch's profile photo
Add a comment...

Jan Corazza

Scala Language  - 
 
What changes would need to be made in Scala in order for the Hindley-Milner type inference algorithm to be possible?
1
Benjamin Geer's profile photoJan Corazza's profile photo
3 comments
 
Seems like I have to read more about HM and Haskell then, I thought they supported subtypes...
Add a comment...

Loïc Descotte

Articles, Podcasts, Talks  - 
 
Nice post on dependency injection alternatives to the cake pattern
10
4
Olivier NOUGUIER's profile photoSimeon Fitch's profile photoLucjan Żeńczuk's profile photoNoel Yap's profile photo
7 comments
 
+Loïc Descotte Because adding the library is a one line build.sbt change, and the long term benefits are substantial. :-) Guice is incredibly robust, widely deployed, and a proven enabler as your code base grows. I'd also argue that DI is a design pattern, and the approaches outlined in the article aren't so much provided by the core language as they are just influenced by it.
Add a comment...

Lauri Apple

Articles, Podcasts, Talks  - 
 
A blog post by Peter Bakhirev from Gilt
6
Add a comment...
 
Hello
How this could be 

scala>: "abc"+1
res1: java.lang.String = abc1

no errors !
Every lang except javascript gives an error for this operation and this is reasonable but scala (strongly typed lang)  is exception here, why ?
1
Stew O'Connor's profile photoRoman Gafurov's profile photo
9 comments
 
Because it is this way in Java doesn't mean it has to be this way in scala. Its only this way in scala because of the any2stringadd function which you can get rid of by making the implicit ambiguous, by compiling with -Yno-predef, by making the implicit ambiguous, or by using wartremover (which used to accomplish this by making the implicit ambiguous but now does it by either a macro or by a compiler plugin)
Add a comment...
 
Building a social music service with #scala  ,  #akka , #playframework  , #mongodb  and #elasticsearch  - the technology behind serendip.me
1
Add a comment...

Michel Daviot

Articles, Podcasts, Talks  - 
14
4
Siddhartha Gadgil's profile photoMarcin Milewski's profile photoFernando Benjamin's profile photoNoel Yap's profile photo
2 comments
 
Scala is not for kids...
Add a comment...

Gopala Krishnan

Articles, Podcasts, Talks  - 
 
Scala Chart
7
2
Nibsirahsieu NT's profile photoOlindo Pindaro's profile photo
Add a comment...

Lauri Apple

Articles, Podcasts, Talks  - 
 
A Scala library created by Software Engineer Federico Feroldi (@cloudify on Twitter)
4
Add a comment...

Maurício Linhares

Articles, Podcasts, Talks  - 
 
Just blogged about futures and promises and how you could use them with Netty to build an async Memcached client.
7
1
Noel Yap's profile photo
Add a comment...

About this community

A Google+ community for articles and discussions related to the Scala programming language. (picture (c) Miles Sabin) Posts and conduct should follow the Scala Code of Conduct - http://docs.scala-lang.org/conduct.html This includes: no job postings.

Derek Morr

Articles, Podcasts, Talks  - 
 
Scala 2.11.0 jars have hit Maven Central, but there hasn't been a formal release announcement yet. Also, TypeSafe did a nice webinar yesterday about 2.11.
24
9
Marco Sarti's profile photoChheang Polen's profile photoJens Jahnke's profile photoDoan Phi Hai's profile photo
 
This is a recording of that webinar.
Add a comment...

Sebastian Nozzi

Web Frameworks  - 
 
 
How to integrate Scaladin (Scala DSL for Vaadin) into an out-of-the-box IDE generated Vaadin project...

#scala   #vaadin   #eclipse   #scaladin   #ide  
3
1
Emanuel Goette's profile photo
Add a comment...

Sebastian Nozzi

Scala Language  - 
 
One-stop place to learn about Scala's type system.

Work in progress, but still impressive.
30
12
Raghava Nellaturu's profile photoJan Eriksson's profile photoIvano Pagano's profile photoStefan Langer's profile photo
2 comments
 
As a developer coming from the lisp family tasked with rapidly picking up scala, this has been one of the most useful resources I've come across in terms of packaging up a vital chunk of what one needs to know about scala (the type system) and presenting it in a single, easily referenced document. Much appreciated. 
Add a comment...

Simeon Fitch
moderator

Articles, Podcasts, Talks  - 
 
Found this a good intro to the "Type Class" pattern and how it can be used to it solve the following use cases:

Case 1: calculate the sum of elements of a set. How can we do it in a generic way? For some types it’s impossible, like Date or File. So we have to delimit the type T in Set[T].

Case 2: sort a list. How do we compare elements? In Java, the type must be Comparable, or we need to provide a comparator. This solution is a good hint for what we are going to do.
The term "type class" has been popular for a while now, but what does it really mean? An article in Wikipedia defines a type class as an interface. This wo
4
1
Loïc Descotte's profile photoSimeon Fitch's profile photoNoel Yap's profile photo
2 comments
 
Yes! Very good!
Add a comment...

prabeesh k

Articles, Podcasts, Talks  - 
 
In the previous post shared how to use sbt in Spark-streaming project. This post is about how to create a fat jar for spark streaming project using sbt plugin. sbt-assembly is a sbt plugin to create a fat JAR of sbt project w...
1
Add a comment...

Gopala Krishnan

Articles, Podcasts, Talks  - 
 
 
This is the best article I've ever read on how and why to adopt Scala.
Advice from a developer who helped rebuild Walmart.ca with Scala and Play
37
22
Artur Opala's profile photoDonald McLean's profile photoJuraj Burian's profile photoPierre Boulet's profile photo
3 comments
 
Really an excellent read. One of the best pieces I've read in a while.
Add a comment...

kishore.k Nayar

Discussion  - 
 
Hi guys, Is there any scala library for plotting with good documentation ?
2
Darren Gibson's profile photokishore.k Nayar's profile photo
2 comments
 
Thanks Darren Gibson :-). I also found this http://continuum.io/blog/bokeh-0.4.1
Add a comment...

Noel Yap

Upcoming Events  - 
16
4
Bernhard Ferlemann's profile photoAnton Kirillov's profile photoLucjan Żeńczuk's profile photoNoel Yap's profile photo
 
Good to know. Thanks.
Add a comment...
 
Learning Scala for a class. This is a new world to me. Can someone explain what Slick does and how its related to Scala? #noob
5
John Scarpaci's profile photoRichard Eggert's profile photo
7 comments
 
+Charles WiNiN I would start with the database server that you are most comfortable with that is also supported by Slick.  Mostly so figuring out whether or not data made it to or from the database can be verified by familiar tools.

For what it's worth, I have used MariaDB and MySQL (the version available without charge, I think that's the CS version).  They work nicely.  There is a small hurdle to be cleared when it comes to timestamps going in an out of the database but I cannot recall exactly what it is at the moment so you may want to avoid them until you get comfortable with the simpler data types.
Add a comment...