Programming with Scala

Programming with Scala
The course covers all the content that is necessary to effectively use Scala: operators and data types, using basic data structures such as arrays, map, tuples, the use of object-oriented and functional approach.
30 hours
Online
English
JVA-031
Programming with Scala
Sign Up
Duration
30 hours
Location
Online
Language
English
Code
JVA-031
Schedule and prices
600.00 *
Training for 7-8 or more people? Customize trainings for your specific needs
Programming with Scala
Sign Up
Duration
30 hours
Location
Online
Language
English
Code
JVA-031
Schedule and prices
600.00 *
Training for 7-8 or more people? Customize trainings for your specific needs

Description

In this course, participants will learn the specifics and features of the Scala language, its advantages and challenges.

The Scala programming language has been gaining popularity in recent years not only in the software development community, but also in enterprise development as well. Its benefits include the use of the most advanced features of contemporary programming languages and extensive support of functional programming.

Scala offers programmers an opportunity to improve development efficiency and create a very expressive and efficient code. Scala code is compiled to Java byte code and runs inside the JVM, which provides excellent compatibility with existing Java libraries and tools.

The course covers all the content that is necessary to effectively use Scala: operators and data types, using basic data structures such as arrays, map, tuples, the use of object-oriented and functional approach, working with collections, pattern matching, case-classes, generics and implicit conversions. It also include a large number of practical exercises.
After completing the course, a certificate
is issued on the Luxoft Training form

Objectives

Introduce developers to the Scala programming language.

Target Audience

The course is designed for Java developers but other full-featured language developers (such as C++, C#, etc.) are also eligible.

Prerequisites

Knowledge of the contemporary OOP programming language is required. Java knowledge is desirable.

Roadmap

a:2:{s:4:"TEXT";s:4340:"Scala introduction
Scala instructions, operators and types
  • Conditional statements
  • Loops
  • Functions
  • Variables
  • Operators
  • Unit type
  • Function type
  • Null, Nothing, Any, AnyRef and AnyVal types
  • Packages and imports
  • Implicit imports
  • Exceptions

Arrays, maps, tuples
  • Creation, adding and removing array elements
  • Access to Array Elements
  • Arrays of fixed and variable length
  • Multidimensional Arrays
  • Operations with arrays
  • Sorting an array
  • Creating and accessing the associative tables
  • Iteration, changing and sorting of associative tables
  • Tuples
  • Zipping

Classes and Inheritance
  • Classes
  • Properties with getters and setters
  • Use parentheses method calls
  • Properties with only getters
  • Auxiliary constructors
  • The primary constructor
  • Nested classes
  • Extending the class
  • Overriding methods
  • Type check and cast
  • Call the superclass constructor
  • Overriding fields
  • Anonymous subclasses
  • Abstract fields
  • Constructor order and early definitions
  • Scala Inheritance Hierarchy
  • Objects equality

Objects
  • Singletons
  • Companion Objects
  • Objects extending a class or trait
  • Enumerations
  • Packages objects
  • Apply and unapply methods
  • Lazy objects

Traits
  • Traits as interfaces
  • Traits with a specific implementation
  • Redefine the abstract methods in the Traits
  • Concrete and abstract fields in Traits
  • Objects that use multiple Traits
  • Trait construction order
  • Initializing Trait fields
  • Traits extending classes
  • Self-types

Functions
  • Functions as values
  • Default arguments and named arguments
  • Functions without a return value
  • Anonymous functions
  • Functions with Function as parameter
  • Closures
  • Functional Interfaces
  • Currying
  • Passing function as a parameter in the block of code
  • Using return

Collections
  • Traits collections in Scala: Map, Set and Seq
  • Mutable and immutable collections
  • Sequences
  • Lists
  • Mutable lists
  • Sets
  • Operators for working with collections
  • Standard methods for working with collections
  • Use map, reduce, fold and scan functions
  • Zipping
  • Iterators
  • Data Streams
  • Threadsafe Collections
  • Parallel collections
  • Interaction with Java collections

Pattern matching
  • Pattern matching as a better switch
  • Guards
  • The variables in patterns
  • Type patterns
  • Matching arrays, lists and tuples
  • Regular expressions
  • Extractors
  • Patterns in variable declarations
  • Patterns in for expressions

Case classes, Option type and partial functions
  • Сase classes
  • Copy method and named parameters
  • Sealed classes
  • Option type
  • Partial functions

Generics
  • Generic сlasses
  • Generic functions
  • Type variance
  • Upper and lower type bounds
  • Use _ for type

Implicit conversions
  • Using implicit keyword to define implicit type
  • Import and use of implicit conversions
  • Implicit parameters
";s:4:"TYPE";s:4:"html";}
Schedule and prices
View:
Register for the next course
Registering in advance ensures you have priority. We will notify you when we schedule the next course on this topic
+
Courses you may be interested in
Spring Framework 5 for Application Development
In this training you’ll learn how to use the core features of the Spring Framework, create production ready applications and discover how to use Spring in your projects.
Effective Java
The training explores new design patterns and language idioms, showing how to make the most of features ranging from generics to enums, annotations to autoboxing.
New features of Java 8 (stream, API)
This training is designed to help participants understand these new features of Java 8. The course covers lambda expressions, data streams, stream data processing with map-filter-reduce approach, asynchronous programming and DateTime API.
Online:
11.12.2023 - 14.12.2023
View Catalog
Your benefits
Expertise
Our trainers are industry experts, involved in software development project
Live training
Facilitated online so that you can interact with the trainer and other participants
Practice
A focus on helping you practice your new skills
Залишилися запитання?
Зв'яжіться з нами
Thank you!
The form has been submitted successfully.