This is the presentation that was in use when delivering the Scala Jump Start free meetup, described at https://www.meetup.com/lifemichael/events/294781025. You can find the video at https://youtu.be/eEE9zDwPMbw
Size: 1.97 MB
Language: en
Added: Aug 06, 2024
Slides: 21 pages
Slide Content
Scala Jump Start
Haim Michael
August 6
th
, 2024
All logos, trademarks and brand names used in this presentation, such as the logo of Scala
or any of its frameworks, belong to their respective owners. Haim Michael and LifeMichael
are independent and not related, affiliated or connected neither with Scala, EPFL, TypeSafe
or any of the companies and the technologies mentioned in this presentation.
life
m
ic
h
a
e
l
You can find the video at
https://youtu.be/eEE9zDwPMbw
Table of Content
●What is Scala?
●Shorter Code
●The Scala Story
●Scala in The Industry
●Scala Comparison
●IDEs for Scala
●The Main Documentation
●Learning Resources
●Questions & Answers
What is Scala?
●Scala is a blend of object oriented programming and a
functional one. This mixture is the source of its strength.
●Scala is compatible with Java. The two languages are
interoperable with each other. We can integrate the code
we write in Scala with our code in Java and vice verso.
●Scala is kind of an improvement to Java. Not only that
Scala re-uses Java's types it also “dresses them up”.
scala-lang.org
Shorter Code
●Comparing with Java, when using Scala our code
becomes significantly shorter.
class Rectangle {
private double width;
private double height;
public Rectangle (double width, double height) {
this.width = width;
this.height = height;
}
}
class Rectangle(var width: Double, var height: Double)
Scala
Java
The Scala Story
●The design of Scala started in 2001 at EPFL by Martin
Odersky, who had previously worked on developing the
first Java compilers.
●Typesafe was founded in 2011 in order to assist
companies with the development of software
applications using the Scala programming language and
its frameworks. In 2016, Typesafe changes its name to
Lightbend.
lightbend.com
Scala in The Industry
●Scala is highly popular on the server side. Many of the
companies that use Scala are either startup based with
highly talented people or very big companies with the
required resources.
Scala in The Industry
●How many developers use Scala with Spark? What is
the most popular framework Scala developers use?
https://www.facebook.com/groups/scaladevelopers/
Scala in The Industry
●How many developers have already made the change
and moved to Scala 3.x?
https://www.jetbrains.com/lp/devecosystem-2023/scala/
Scala in The Industry
●What is the compilation target?
https://www.jetbrains.com/lp/devecosystem-2023/scala/
Scala Comparison
Learning Curve
P
o
p
u
la
r
it
y
Java
Scala
Easy Difficult
L
o
w
H
ig
h
PHP
JavaScript
C#
Kotlin
Swift
Scala Comparison
Object Oriented
F
u
n
c
t
io
n
a
l
Java
Scala
Weak Strong
W
e
a
k
S
t
r
o
n
g
PHP
JavaScript
C# Swift
Kotlin
Python
Scala Comparison
Development Process
P
la
t
f
o
r
m
D
e
p
e
n
d
e
n
c
y
Java
Scala
Easy Difficult
L
o
w
H
ig
h
PHP
JavaScript
C#
Kotlin
Swift
Python
Scala Comparison
Hosting Services
O
p
e
n
S
o
u
r
c
e
C
o
m
m
u
n
it
y
Java
Kotlin
Few Many
S
m
a
ll
B
ig
PHP
JavaScript
C#
Swift
Scala
Python
IDEs for Scala Development
●You can develop in Scala using the command line. You
can alternatively use one of the available Java IDEs. You
will need to install a plugin that allows coding in Scala.
scala-ide.org netbeans.apache.org
www.jetbrains.com/idea/code.visualstudio.com
IDEs for Scala Development
●The IntelliJ IDEA is the most popular IDE. The free
community version is sufficient for most cases.
https://www.jetbrains.com/lp/devecosystem-2023/scala/
The Main Documentation
●You can find the complete API documentation online at
https://docs.scala-lang.org
Learning Resources
●You can easily start with the basics using the video clips I
created. You can find them in the following two playlists.
Scala (en)
https://www.youtube.com/playlist?list=PLF6361F58D66C2792
Scala (he)
https://www.youtube.com/playlist?list=PLSXEAnbzBMLrCCxdhiTv45IWbWd3F04R6
Learning Resources
●The Scala Developers group on Facebook
Learning Resources
●You can find an excellent free course by Martin Odersky
available for free at www.coursera.org.
Learning Resources
●You can find the following excellent books written by Martin
Odersky.
Updated to Scala 3.x
Questions & Answers
Thanks for your time!
Haim. [email protected]
https://blog.lifemichael.com
+972+54+6655837 (WhatsApp)