SlideShare a Scribd company logo
case class Scala

                 What is Scala?

   Introduction for people living under rocks
   Clojure, Groovy, JRuby, Rhino, and Jython and
    why they suck
   Why Scala is better than Kotlin and Ceylon
case class Scala

             Why Choose Scala?

   Java is too verbose
   Java is too basic
   Staying in the JVM makes sense
   Scala doesn't compromise
   Scala is getting better
case class Scala
Hello World Example
Java




Scala
case class Scala
        Creating a List
Java




Scala
case class Scala
   Converting a List
Java




Scala
case class Scala
        Class Creation
Java            Scala
case class Scala
 Getting all Products
Java




Scala
case class Scala
        Getting all Products
Java
           And Filtering




Scala
case class Scala
        Getting Product by Id
Java




Scala
case class Scala
          Dealing with
Java
         Product Result




Scala
case class Scala
        Matching / Casting
Java




Scala
case class Scala
                 Overloading
        Java




Scala
case class Scala
        Thinking Functionally
Scala
case class Scala




Write some code
Ad

More Related Content

What's hot (11)

Scala for android
Scala for androidScala for android
Scala for android
Tack Mobile
 
How to create first android app
How to create first android appHow to create first android app
How to create first android app
akkefa
 
Java Programming Important Topics
Java Programming Important Topics Java Programming Important Topics
Java Programming Important Topics
SANJAYMANVATKAR1
 
Scala's evolving ecosystem- Introduction to Scala.js
Scala's evolving ecosystem- Introduction to Scala.jsScala's evolving ecosystem- Introduction to Scala.js
Scala's evolving ecosystem- Introduction to Scala.js
Knoldus Inc.
 
DOSUG Scala Basic Concepts 0805
DOSUG Scala Basic Concepts 0805DOSUG Scala Basic Concepts 0805
DOSUG Scala Basic Concepts 0805
Tom Flaherty
 
Scala in a wild enterprise
Scala in a wild enterpriseScala in a wild enterprise
Scala in a wild enterprise
Rafael Bagmanov
 
Scala elegant and exotic part 1
Scala  elegant and exotic part 1Scala  elegant and exotic part 1
Scala elegant and exotic part 1
VulcanMinds
 
Alberto Paro - Hands on Scala.js
Alberto Paro - Hands on Scala.jsAlberto Paro - Hands on Scala.js
Alberto Paro - Hands on Scala.js
Scala Italy
 
Diving Into Scala Cats - Semigroups and Monoids
Diving Into Scala Cats - Semigroups and MonoidsDiving Into Scala Cats - Semigroups and Monoids
Diving Into Scala Cats - Semigroups and Monoids
Knoldus Inc.
 
Introduction to Scala for Java Developers
Introduction to Scala for Java DevelopersIntroduction to Scala for Java Developers
Introduction to Scala for Java Developers
Solix JJ
 
Scala for dummies
Scala for dummiesScala for dummies
Scala for dummies
Javier Santos Paniego
 
Scala for android
Scala for androidScala for android
Scala for android
Tack Mobile
 
How to create first android app
How to create first android appHow to create first android app
How to create first android app
akkefa
 
Java Programming Important Topics
Java Programming Important Topics Java Programming Important Topics
Java Programming Important Topics
SANJAYMANVATKAR1
 
Scala's evolving ecosystem- Introduction to Scala.js
Scala's evolving ecosystem- Introduction to Scala.jsScala's evolving ecosystem- Introduction to Scala.js
Scala's evolving ecosystem- Introduction to Scala.js
Knoldus Inc.
 
DOSUG Scala Basic Concepts 0805
DOSUG Scala Basic Concepts 0805DOSUG Scala Basic Concepts 0805
DOSUG Scala Basic Concepts 0805
Tom Flaherty
 
Scala in a wild enterprise
Scala in a wild enterpriseScala in a wild enterprise
Scala in a wild enterprise
Rafael Bagmanov
 
Scala elegant and exotic part 1
Scala  elegant and exotic part 1Scala  elegant and exotic part 1
Scala elegant and exotic part 1
VulcanMinds
 
Alberto Paro - Hands on Scala.js
Alberto Paro - Hands on Scala.jsAlberto Paro - Hands on Scala.js
Alberto Paro - Hands on Scala.js
Scala Italy
 
Diving Into Scala Cats - Semigroups and Monoids
Diving Into Scala Cats - Semigroups and MonoidsDiving Into Scala Cats - Semigroups and Monoids
Diving Into Scala Cats - Semigroups and Monoids
Knoldus Inc.
 
Introduction to Scala for Java Developers
Introduction to Scala for Java DevelopersIntroduction to Scala for Java Developers
Introduction to Scala for Java Developers
Solix JJ
 

Similar to Case class scala (20)

Scala,a practicle approach
Scala,a practicle approachScala,a practicle approach
Scala,a practicle approach
Deepak Kumar
 
An Introduction to Scala
An Introduction to ScalaAn Introduction to Scala
An Introduction to Scala
Brent Lemons
 
Learn scala and it's componenents learn it
Learn scala and it's componenents learn itLearn scala and it's componenents learn it
Learn scala and it's componenents learn it
siddharth30121
 
The Scala Programming Language
The Scala Programming LanguageThe Scala Programming Language
The Scala Programming Language
Haim Michael
 
Absorbing Scala Into Java Ecosystem
Absorbing Scala Into Java EcosystemAbsorbing Scala Into Java Ecosystem
Absorbing Scala Into Java Ecosystem
Eishay Smith
 
Scala Introduction.pptx
Scala Introduction.pptxScala Introduction.pptx
Scala Introduction.pptx
Revathiparamanathan
 
Scala in a nutshell
Scala in a nutshellScala in a nutshell
Scala in a nutshell
Kyel John M. David
 
Rubyistを誘うScalaの世界 2.0
Rubyistを誘うScalaの世界 2.0Rubyistを誘うScalaの世界 2.0
Rubyistを誘うScalaの世界 2.0
Yuto Matsukubo
 
A Tour Of Scala
A Tour Of ScalaA Tour Of Scala
A Tour Of Scala
fanf42
 
5分で説明する Play! scala
5分で説明する Play! scala5分で説明する Play! scala
5分で説明する Play! scala
masahitojp
 
Scala: An experience report
Scala: An experience reportScala: An experience report
Scala: An experience report
Mark Needham
 
Scala Past, Present & Future
Scala Past, Present & FutureScala Past, Present & Future
Scala Past, Present & Future
mircodotta
 
Scala
ScalaScala
Scala
popeast
 
Scala for n00bs by a n00b.
Scala for n00bs by a n00b.Scala for n00bs by a n00b.
Scala for n00bs by a n00b.
brandongulla
 
Scala Introduction - Meetup Scaladores RJ
Scala Introduction - Meetup Scaladores RJScala Introduction - Meetup Scaladores RJ
Scala Introduction - Meetup Scaladores RJ
Rodrigo Lima
 
Scala adoption by enterprises
Scala adoption by enterprisesScala adoption by enterprises
Scala adoption by enterprises
Mike Slinn
 
Cw13 playing with scala by tamer abdelradi
Cw13 playing with scala by tamer abdelradiCw13 playing with scala by tamer abdelradi
Cw13 playing with scala by tamer abdelradi
inevitablecloud
 
Cw13 playing with scala by tamer abdelradi
Cw13 playing with scala by tamer abdelradiCw13 playing with scala by tamer abdelradi
Cw13 playing with scala by tamer abdelradi
TheInevitableCloud
 
Java 8 and Beyond, a Scala Story
Java 8 and Beyond, a Scala StoryJava 8 and Beyond, a Scala Story
Java 8 and Beyond, a Scala Story
Tomer Gabel
 
Ten Compelling Reasons to Go the Scala Development Way - Metadesign Solutions
Ten Compelling Reasons to Go the Scala Development Way - Metadesign SolutionsTen Compelling Reasons to Go the Scala Development Way - Metadesign Solutions
Ten Compelling Reasons to Go the Scala Development Way - Metadesign Solutions
MetaDesign Solutions
 
Scala,a practicle approach
Scala,a practicle approachScala,a practicle approach
Scala,a practicle approach
Deepak Kumar
 
An Introduction to Scala
An Introduction to ScalaAn Introduction to Scala
An Introduction to Scala
Brent Lemons
 
Learn scala and it's componenents learn it
Learn scala and it's componenents learn itLearn scala and it's componenents learn it
Learn scala and it's componenents learn it
siddharth30121
 
The Scala Programming Language
The Scala Programming LanguageThe Scala Programming Language
The Scala Programming Language
Haim Michael
 
Absorbing Scala Into Java Ecosystem
Absorbing Scala Into Java EcosystemAbsorbing Scala Into Java Ecosystem
Absorbing Scala Into Java Ecosystem
Eishay Smith
 
Rubyistを誘うScalaの世界 2.0
Rubyistを誘うScalaの世界 2.0Rubyistを誘うScalaの世界 2.0
Rubyistを誘うScalaの世界 2.0
Yuto Matsukubo
 
A Tour Of Scala
A Tour Of ScalaA Tour Of Scala
A Tour Of Scala
fanf42
 
5分で説明する Play! scala
5分で説明する Play! scala5分で説明する Play! scala
5分で説明する Play! scala
masahitojp
 
Scala: An experience report
Scala: An experience reportScala: An experience report
Scala: An experience report
Mark Needham
 
Scala Past, Present & Future
Scala Past, Present & FutureScala Past, Present & Future
Scala Past, Present & Future
mircodotta
 
Scala for n00bs by a n00b.
Scala for n00bs by a n00b.Scala for n00bs by a n00b.
Scala for n00bs by a n00b.
brandongulla
 
Scala Introduction - Meetup Scaladores RJ
Scala Introduction - Meetup Scaladores RJScala Introduction - Meetup Scaladores RJ
Scala Introduction - Meetup Scaladores RJ
Rodrigo Lima
 
Scala adoption by enterprises
Scala adoption by enterprisesScala adoption by enterprises
Scala adoption by enterprises
Mike Slinn
 
Cw13 playing with scala by tamer abdelradi
Cw13 playing with scala by tamer abdelradiCw13 playing with scala by tamer abdelradi
Cw13 playing with scala by tamer abdelradi
inevitablecloud
 
Cw13 playing with scala by tamer abdelradi
Cw13 playing with scala by tamer abdelradiCw13 playing with scala by tamer abdelradi
Cw13 playing with scala by tamer abdelradi
TheInevitableCloud
 
Java 8 and Beyond, a Scala Story
Java 8 and Beyond, a Scala StoryJava 8 and Beyond, a Scala Story
Java 8 and Beyond, a Scala Story
Tomer Gabel
 
Ten Compelling Reasons to Go the Scala Development Way - Metadesign Solutions
Ten Compelling Reasons to Go the Scala Development Way - Metadesign SolutionsTen Compelling Reasons to Go the Scala Development Way - Metadesign Solutions
Ten Compelling Reasons to Go the Scala Development Way - Metadesign Solutions
MetaDesign Solutions
 
Ad

Case class scala