Scala in Eclipse for Profit & Fun

1,001 views
888 views

Published on

Published in: Technology, Education
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
1,001
On SlideShare
0
From Embeds
0
Number of Embeds
11
Actions
Shares
0
Downloads
12
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Scala in Eclipse for Profit & Fun

  1. 1. Scala in Eclipse For Profit & Fun EclipseCon 2013, Ludwinsburg Mirco Dotta <mirco.dotta@typesafe.com> @mircodotta
  2. 2. Agenda • • • What is Scala? Scala PDE Scala or Java8?
  3. 3. Region 1 Region 2 100 What is Scala? 75 50 25 2007 2008 0 2009 2010
  4. 4. JVM language
  5. 5. Since 2001 Current Version 2.10 Mature
  6. 6. http://www.thoughtworks.com/radar
  7. 7. Unifier Lightweight Syntax Object Oriented Functional Statically Typed
  8. 8. Use any Java library Mixed Scala/ Java projects Interoperable with Java
  9. 9. Let’s see it in action!
  10. 10. Scala Plug-in Development Environment Set up in 3 simple steps • • • Install Scala IDE (http://scala-ide.org) Add Scala Library bundle in the dependencies Add Scala Nature to your project
  11. 11. Maven, Tycho & Scala Maven support for Scala <dependency> <groupId>org.scala-lang</groupId> <artifactId>scala-library</artifactId> <version>${scala.version}</version> </dependency> 2.10.3 Scala Library <plugin> <groupId>net.alchim31.maven</groupId> <artifactId>scala-maven-plugin</artifactId> <version>${scala.plugin.version}</version> </plugin> 3.1.5 Scala Maven dependency plug-in
  12. 12. Scala now or Java 8 tomorrow? Why you should profit today. • • Java 8 ships in spring 2014 • But when Eclipse API w/ lambdas & default methods? Why waiting when you can use Scala today and profit? • • • Concise Better type safety guarantees than Java. Extremely flexible (e.g., easy to write DSLs)
  13. 13. Learning Scala? • https://www.coursera.org/course/progfun Books http://typesafe.com/resources/free-books http://www.artima.com/pins1ed/
  14. 14. Thanks! mirco.dotta@typesafe.com @mircodotta http://scala-ide.org @ScalaIDE
  15. 15. Resources Links to all resources used in this talk • • • • http://www.scala-ide.org/ https://github.com/dotta/eclipsecon-eu-2013 https://github.com/dotta/eclipsecon-java-editor • Based on http://www.vogella.com/articles/ EclipseEditors/article.html https://github.com/dotta/eclipsecon-scala-editor

×