The Pain of OOP, Lecture #6: NULL references [object oriented programming crash course]

Опубликовано: 29 Сентябрь 2024
на канале: Yegor Bugayenko
3,339
85

A lecture for BSc students in Innopolis University.

The slides are here: https://github.com/yegor256/painofoop (in LaTeX and PDF)

Buy my book about OOP: http://goo.gl/W2WVMk

Blog: https://www.yegor256.com
Books: https://www.yegor256.com/books.html
GitHub: https://github.com/yegor256 (don’t hesitate to follow in order to stay informed)
Telegram channel with recent news and updates: https://t.me/yegor256news (subscribe to not miss a thing)
Twitter with daily and weekly updates:   / yegor256   (follow me!)
iTunes: https://podcasts.apple.com/us/podcast...
SoundCloud:   / yegor256  
Yandex Music podcast by yegor256: https://music.yandex.ru/album/31142286

0:00 Introduction
3:44 Quote
11:57 Fail Fast vs Fail Safe
12:50 Defaults
21:12 Exception swallowing
25:39 Software development lifecycle (SDLC)
30:12 Alternatives to Returning NULL
34:01 Returning a List or a NULL
39:40 Returning a Fake Entity
45:16 Alternatives to Checking for NULL
56:37 &. operator in Ruby
1:00:45 NULL-awareness in Kotlin
1:04:45 Alternatives to Storing NULL
1:13:03 Object Thinking
1:19:10 Spring Boot