scala introduction - meetup scaladores rj
TRANSCRIPT
SCALA INTRODUCTIONMEETUP SCALA - RJ
About me
RODRIGO LIMASoftware Engineer @Stone
Index
What is Scala?Who are using Scala?How to use? Some features of language.Why use?
What is Scala?
Scala was created by Martin Odersky.
What is Scala?
In 2001 Martin Odersky began to develop a language on the JVM.
Martin has created a language called Pizza, worked on the Java compiler and Java generics 5.
What is Scala?
Early 2004 Scala was released on the Java platform.
In June 2004 on the .NET Framework.
The .NET support was officially dropped in 2012.
What is Scala?
May 2011, Odersky launched Typesafe Inc.
Currently named Lightbend Inc.
“ Scala is an acronym for Scalable Language ”
Is so named because it was designed to grow with the demands of its users.
What is Scala?
Programming
Imperative
Declarative
Procedural
Object Oriented
Logic
Functional
FORTRAN, C
C#, Java
Prolog
Haskell, Erlang
What is Scala?
Other functional languages
We’ve found that Scala has enabled us to deliver things
faster with less code.
Graham Tackley from TheGuardian.
“
”
What is Scala?
But, anyone can use Scala?
You have to have affinity!
What is Scala?
You can create methods with symbols
What is Scala?
Scala compiles to Byte Code in the JVM;
I can write a .class being java or scala code;
I can use Java libs in Scala;
With this, we have Interoperability with Java;
Have two paradigms, Object Oriented and Functional Programming.
If I were to pick a language to
use today other than Java, it
would be Scala.
James Gosling, the creator of the Java programming language
“
”
Who are using Scala?
Who are using Scala?
Play Framework to build web applications with Java & Scala.
For building concurrent, distributed, and resilient applications on the JVM.
Apache Spark is a fast and general engine for big data processing.
How to use?
REPL (Read-Evaluate-Print-Loop);
How to use?
IDE's
- Eclipse (Scala IDE)
- NetBeans - plugin
- IntelliJ IDEA - plugin
Some features of language.
It is strongly typed (static) and type inference by the compiler;
Some features of language.
Scala.js
Scala code Scala.js Compiler JavaScript
Why use Scala?
Why use Scala? Java x Scala
What use Scala?
Scala used for create software that makes use of :
- Concurrent processing; - Parallel utilization of multiple cores;- Distributed processing.
Unlike with many traditional
functional languages,
Scala allowed us a gradual, easy
migration to a more functional
style.Rodrigo Lima, passionate about Scala.
“
”
So, Why not?
Learn more about Scala
http://scaladores.herokuapp.com
QUESTIONS?
Contacts
E-mail: [email protected]
LinkedIn: https://br.linkedin.com/in/rodrigolimasss
GitHub: https://github.com/RodrigoLimasss
Twitter: https://twitter.com/rodrigolimasss
Blog: http://rdlima.com