-
Learning by doing
-
Trainers with practical experience
-
Classroom training
-
Detailed course material
-
Clear content description
-
Tailormade content possible
-
Training that proceeds
-
Small groups
In the course Kotlin Programming participants learn to use the object oriented and functional language Kotlin for software development. Kotlin is a modern statically typed language that is fully compatible with Java and runs on the Java Virtual Machine (JVM). Kotlin has modern language features such as type inferences, null safety, coroutines and unchecked exception which are lacking in Java. Moreover Kotlin code is much more compact compared to Java.
The course Kotlin Programming starts with an overview of a number of important features of Kotlin. Attention is paid to the syntax simplifications in the Kotlin language compared to Java. It is also discussed that Kotlin code can be compiled not only to Java, but also to JavaScript or native code.
Next the language syntax is covered with type inference, mutable and immutable variable declarations, if and when expressions, ranges, loops and iterators.
With regard to object oriented programming, class initialization, primary and secondary constructors final and open classes, abstract classes and interfaces are treated. And also attention is paid to data classes in which methods such as equals, toString and hashCode are automatically generated.
Kotlin also supports functional programming and part of the program of the course are lambda functions, higher order function, passing functions as parameters and returning functions. Also to extension methods, destructuring declarations, nested functions and extracting parameters with the spread operator are discussed.
Also covered is the Collection Framework in Kotlin that supports mutable and immutable collections and sequences with lazy evaluation. Parameterized types with generics are also covered. And delegation in Kotlin with lazy and observable properties is explained.
Finally attention is paid to the use of coroutines in Kotlin which can be considered as lightweight threads and which are excellent for asynchronous handling.
The course Kotlin Programming is intended for developers who want to learn how Kotlin differentiates itself from Java and who want to learn how to program in Kotlin.
To participate in this course experience with programming is required. Knowledge of programming in Java is beneficial for the understanding.
The theory is treated on the basis of presentations. Illustrative demos are used to clarify the concepts. There is ample opportunity to practice and theory and exercises are interchanged. The course times are from 9.30 to 16.30
Participants receive an official certificate Kotlin Programming after successful completion of the course.
Module 1 : Kotlin Intro |
Module 2 : Language Syntax |
Module 3 : Classes and Objects |
What is Kotlin? Variables Type Inference Kotlin Characteristics Null Handling Safe Call Operator Properties Custom Accessors Kotlin Exceptions Kotlin versus Java Interoperability Run as ECMAScript Potential Downsides |
Packages and Imports Default Imports Basic Types Boxing Explicit Conversions Characters Arrays If and When Expressions Loops and Iterators Ranges Jumps and Labels Elvis Operator !! Operator |
Kotlin Class Initialization Property Settings Inheritance Calling Base Constructors Secondary Constructors Visibility Modifiers Abstract Classes and Interfaces Nested and Inner Classes Data Classes Destructuring Declarations Sealed Classes Kotlin Objects Companion Objects |
Module 4 : Functions |
Module 5 : Collections |
Module 6 : Generics |
Function Scope Local Functions Extension Functions Static Resolvement Extension Properties Recursive Functions Kotlin Tail Recursion Higher Order Functions Lambda Expressions Closures Infix Functions Operator Functions Scope Functions |
Collection Types Immutable Collections Mutable Collections Collection Hierarchy Iterators Ranges and Progressions Sequences Common Operations Write Operations Transformations Filtering Plus and Minus Grouping |
Generic Classes Generic Functions Type Inference PECS Principle out Keyword in Keyword Type Projections Subtype to Supertype Variances Covariance Contravariance Star Projections Generic Constraints |
Module 7 : Delegation |
Module 8 : Interoperability |
Module 9 : Coroutines |
Delegation Design Pattern by Keyword Inheritance Alternative Delegated Properties Lazy Properties Property as Input Return Type as Lazy Observable Properties Standard Delegates Properties in Map Local Delegated Properties Delegate Requirements Translation Rules |
Calling Java from Kotlin Calling Static Methods Using Java Collection Reserved Words in Kotlin Calling Kotlin in Java Calling Kotlin Functions Calling Extension Functions Using Mutable Collections Immutable Collections Files with JVM Annotation Functions with JVM Annotation Calling Kotlin Class Calling Kotlin Singleton |
What are Coroutines? Concurrency Pattern Light-weight Threads Coroutine Scope launch Method Blocking versus non-Blocking Structured Concurrency Scope Builder Global Coroutines Cancelation and Timeout Coroutine Context Channels Asynchronous Flow |
All our courses are classroom courses in which the students are guided through the material on the basis of an experienced trainer with in-depth material knowledge. Theory is always interspersed with exercises.
We also do custom classes and then adjust the course content to your wishes. On request we will also discuss your practical cases.
The course times are from 9.30 to 16.30. But we are flexible in this. Sometimes people have to bring children to the daycare and other times are more convenient for them. In good consultation we can then agree on different course times.
We take care of the computers on which the course can be held. The software required for the course has already been installed on these computers. You do not have to bring a laptop to participate in the course. If you prefer to work on your own laptop, you can take it with you if you wish. The required software is then installed at the start of the course.
Our courses are generally given with Open Source software such as Eclipse, IntelliJ, Tomcat, Pycharm, Anaconda and Netbeans. You will receive the digital course material to take home after the course.
The course includes lunch that we use in a restaurant within walking distance of the course room.
The courses are planned at various places in the country. A course takes place at a location if at least 3 people register for that location. If there are registrations for different locations, the course will take place at our main location, Houten which is just below Utrecht. A course at our main location also takes place with 2 registrations and regularly with 1 registration. And we also do courses at the customer’s location if they appreciate that.
At the end of each course, participants are requested to evaluate the course in terms of course content, course material, trainer and location. The evaluation form can be found at https://www.klantenvertellen.nl/reviews/1039545/spiraltrain?lang=en. The evaluations of previous participants and previous courses can also be found there.
The intellectual property rights of the published course content, also referred to as an information sheet, belong to SpiralTrain. It is not allowed to publish the course information, the information sheet, in written or digital form without the explicit permission of SpiralTrain. The course content is to be understood as the description of the course content in sentences as well as the division of the course into modules and topics in the modules.