Sharing Is Caring:

Mastering Kotlin: a Fast Guide to Null Safety (in 30 min)

Get a grip on Kotlin type system at lunch break! Put strong Kotlin skills into your toolbox for better career prospects!

Free tutorial

Created by Skill Centric

English

English [Auto]

Free

What you’ll learn

  • Understand Kotlin null safety
  • Learn the difference between nullable, not null and platform types
  • Learn to user safe call operator, Elvis operator, safe cast operator, not null assertion, let function and lateinit keyword

Requirements

  • Basic java skills would be an advantage (but not required)

Description

This course is a quick paced introduction into Kotlin null safe type system. 

During this 30 min course you will learn the differences between the Java and Kotlin type systems.

You will see how Kotlin will help you handle the notorious NullPointerException at compile time rather than at runtime. 

By the end of the course you will be very comfortable with Kotlin nullability which is one of the main advantages and core features of the language. 

You will find out the differences between nullable, not null and platform types.

Read Also -->   Excel Formulas for Absolute Beginners

You will learn about safe the call operator, the Elvis operator, the safe cast operator, the not null assertion, the let function and some other important techniques of working with nullable types in Kotlin.

Some knowledge of java is welcome but not required.

This course is for you if you are just starting our with Kotlin!

Who this course is for:

  • Any developer interested in learning Kotlin
  • Java developers
  • Android developers

Show less

Course content

10 sections • 19 lectures • 29m total lengthCollapse all sections

Introduction1 lecture • 1min

  • Introduction01:08

Why Are Nullable Types Introduced in Kotlin?4 lectures • 5min

  • Why Are Nullable Types Introduced in Kotlin?01:01
  • Types in Java and Kotlin01:40
  • Java and Kotlin Types Example01:36
  • Summary00:19

What Is a Safe Call Operator?1 lecture • 1min

  • What Is a Safe Call Operator?01:04

What Is Elvis Operator?2 lectures • 3min

  • What Is Elvis Operator?02:06
  • Elvis Operator Code Example01:22

When Should You Use Safe Casts?2 lectures • 5min

  • When Should You Use Safe Casts?01:17
  • Safe Casts Code Example03:42

What Are Not-null Assertions?2 lectures • 2min

  • What Are Not-null Assertions?00:43
  • Not Null Assertions Code Example01:10

When Can We Use Let Function?2 lectures • 3min

  • When Can We Use Let Function?00:59
  • Let Function Example02:02

Why Is lateinit Keyword Used?2 lectures • 3min

  • Why Is lateinit Keyword Used?01:12
  • Lateinit Code Example02:13

What Are Platform Types in Kotlin?2 lectures • 4min

  • What Are Platform Types in Kotlin?01:25
  • Platform Types Example02:36

Conclusion1 lecture • 2min

  • Conclusion01:39

👇👇👇👇 Click Below to Enroll in Free Udemy Course 👇👇👇👇

Go to Course

👇👇 See Also 👇👇

Join Us Join Us Join Us
Sharing Is Caring:

Leave a Comment

Ads Blocker Image Powered by Code Help Pro

Ads Blocker Detected!!!

We have detected that you are using extensions to block ads. Please support us by disabling these ads blocker.

Powered By
Best Wordpress Adblock Detecting Plugin | CHP Adblock