Kotlin Design - To Subclass or not to Subclass with Tim Schraepen
We ran into some problems with Java NullPointerExceptions in Part 17 (https://youtu.be/A79s41eRuWg). Tim Schraepen suggested in the comments that if we had two Item types, with and without sell by dates, then the type system would force us to do the right thing, so we got together to pair to see how that turns out.
This is a bonus episode of our series exploring where a Test Driven Development implementation of the Gilded Rose stock control system might take us in Kotlin. You can see the whole series as a playlist
https://www.youtube.com/playlist?list=PL1ssMPpyqociJNwykAOB9_KEZVW7BW7m2
The code for this spike solution is on a GitHub branch
https://github.com/dmcg/gilded-rose-tdd/tree/item-subclass)
You can follow Tim on Twitter
https://twitter.com/TimSchraepen
and YouTube
https://www.youtube.com/c/TimSchraepen
And, as Tim was kind enough to say, if you like this, you’ll probably like the book Java to Kotlin, A Refactoring Guidebook
http://java-to-kotlin.dev.
Видео Kotlin Design - To Subclass or not to Subclass with Tim Schraepen канала Pairing with Duncan
This is a bonus episode of our series exploring where a Test Driven Development implementation of the Gilded Rose stock control system might take us in Kotlin. You can see the whole series as a playlist
https://www.youtube.com/playlist?list=PL1ssMPpyqociJNwykAOB9_KEZVW7BW7m2
The code for this spike solution is on a GitHub branch
https://github.com/dmcg/gilded-rose-tdd/tree/item-subclass)
You can follow Tim on Twitter
https://twitter.com/TimSchraepen
and YouTube
https://www.youtube.com/c/TimSchraepen
And, as Tim was kind enough to say, if you like this, you’ll probably like the book Java to Kotlin, A Refactoring Guidebook
http://java-to-kotlin.dev.
Видео Kotlin Design - To Subclass or not to Subclass with Tim Schraepen канала Pairing with Duncan
Комментарии отсутствуют
Информация о видео
11 мая 2022 г. 20:09:20
01:13:30
Другие видео канала