Artwork

Вміст надано Khanyisa Keke. Весь вміст подкастів, включаючи епізоди, графіку та описи подкастів, завантажується та надається безпосередньо компанією Khanyisa Keke або його партнером по платформі подкастів. Якщо ви вважаєте, що хтось використовує ваш захищений авторським правом твір без вашого дозволу, ви можете виконати процедуру, описану тут https://uk.player.fm/legal.
Player FM - додаток Podcast
Переходьте в офлайн за допомогою програми Player FM !

Null Safety In Kotlin: What Is It And Why You Should Care

4:17
 
Поширити
 

Manage episode 406775291 series 3415791
Вміст надано Khanyisa Keke. Весь вміст подкастів, включаючи епізоди, графіку та описи подкастів, завантажується та надається безпосередньо компанією Khanyisa Keke або його партнером по платформі подкастів. Якщо ви вважаєте, що хтось використовує ваш захищений авторським правом твір без вашого дозволу, ви можете виконати процедуру, описану тут https://uk.player.fm/legal.

Kotlin's type system distinguishes between nullable and non-nullable types to eliminate null pointer exceptions, which are referred to as a billion-dollar mistake; this Kotlin null safety explained tutorial covers the syntax for declaring nullable variables with a question mark and using the safe call operator and elvis operator to gracefully handle null values instead of throwing exceptions at runtime. By understanding these Kotlin null safety best practices like non-nullable vs nullable types and operators for avoiding null pointer exceptions in Kotlin, beginners can write code that handles potential null values at compile time rather than crashing at runtime by learning how to properly check for null when calling properties on a variable that could be null. This Kotlin null safety for beginners video will demonstrate these techniques for handling null values in Kotlin to take advantage of Kotlin's null safety features and avoid frustrating null pointer exceptions.
_________________________
Please find below links to my social networks and work:
Click here for the full Understanding Null Safety in Kotlin Blog post - https://kekekhanyisatv.systeme.io/null-safety-kotlin-video
GitHub Link - https://github.com/khanyisakeke
LinkedIn Link - https://www.linkedin.com/in/khanyisa-keke-5573b5203/
Subscribe to my YouTube channel - https://linktw.in/r78Kdp
Twitter Link - https://twitter.com/KhanyisaKekeTV
Facebook Link - https://web.facebook.com/KhanyisaKekeTV/
Firstory Podcast Link - https://open.firstory.me/user/clacgzgai01se01t4d04b3y4p/platforms
Click here to be sent the PDF where I discuss Kotlin vs. Java and which one is better for Android Development:
https://systeme.io/funnel/share/1504037b7dfc00d626ad64755b44f63668aafe5
#kotlin #androiddevelopment
Leave a comment and share your thoughts: https://open.firstory.me/user/clacgzgai01se01t4d04b3y4p/comments


Powered by Firstory Hosting
  continue reading

87 епізодів

Artwork
iconПоширити
 
Manage episode 406775291 series 3415791
Вміст надано Khanyisa Keke. Весь вміст подкастів, включаючи епізоди, графіку та описи подкастів, завантажується та надається безпосередньо компанією Khanyisa Keke або його партнером по платформі подкастів. Якщо ви вважаєте, що хтось використовує ваш захищений авторським правом твір без вашого дозволу, ви можете виконати процедуру, описану тут https://uk.player.fm/legal.

Kotlin's type system distinguishes between nullable and non-nullable types to eliminate null pointer exceptions, which are referred to as a billion-dollar mistake; this Kotlin null safety explained tutorial covers the syntax for declaring nullable variables with a question mark and using the safe call operator and elvis operator to gracefully handle null values instead of throwing exceptions at runtime. By understanding these Kotlin null safety best practices like non-nullable vs nullable types and operators for avoiding null pointer exceptions in Kotlin, beginners can write code that handles potential null values at compile time rather than crashing at runtime by learning how to properly check for null when calling properties on a variable that could be null. This Kotlin null safety for beginners video will demonstrate these techniques for handling null values in Kotlin to take advantage of Kotlin's null safety features and avoid frustrating null pointer exceptions.
_________________________
Please find below links to my social networks and work:
Click here for the full Understanding Null Safety in Kotlin Blog post - https://kekekhanyisatv.systeme.io/null-safety-kotlin-video
GitHub Link - https://github.com/khanyisakeke
LinkedIn Link - https://www.linkedin.com/in/khanyisa-keke-5573b5203/
Subscribe to my YouTube channel - https://linktw.in/r78Kdp
Twitter Link - https://twitter.com/KhanyisaKekeTV
Facebook Link - https://web.facebook.com/KhanyisaKekeTV/
Firstory Podcast Link - https://open.firstory.me/user/clacgzgai01se01t4d04b3y4p/platforms
Click here to be sent the PDF where I discuss Kotlin vs. Java and which one is better for Android Development:
https://systeme.io/funnel/share/1504037b7dfc00d626ad64755b44f63668aafe5
#kotlin #androiddevelopment
Leave a comment and share your thoughts: https://open.firstory.me/user/clacgzgai01se01t4d04b3y4p/comments


Powered by Firstory Hosting
  continue reading

87 епізодів

Tüm bölümler

×
 
Loading …

Ласкаво просимо до Player FM!

Player FM сканує Інтернет для отримання високоякісних подкастів, щоб ви могли насолоджуватися ними зараз. Це найкращий додаток для подкастів, який працює на Android, iPhone і веб-сторінці. Реєстрація для синхронізації підписок між пристроями.

 

Короткий довідник