Life After Business Objects - Confessions of an OOP Veteran • Vagif Abilov • GOTO 2020

  Рет қаралды 5,334

GOTO Conferences

GOTO Conferences

Күн бұрын

Пікірлер: 5
@jagansinghchoudhary
@jagansinghchoudhary 4 жыл бұрын
Slide at 10:30 ??
@Zhuinden
@Zhuinden 4 жыл бұрын
8:20 "I don't think I need to explain that this is bad" -- and then this is what the entire LiveData/MutableLiveData thing in Android Jetpack is built upon (which is also the basis for StateFlow/MutableStateFlow in the KotlinX Coroutines library github.com/Kotlin/kotlinx.coroutines/blob/583ec6e862fb70c7fc0232af948a028bab3b20de/kotlinx-coroutines-core/common/src/flow/StateFlow.kt#L123 ), I'm somewhat disappointed it was handwaved away
@Zhuinden
@Zhuinden 4 жыл бұрын
To be honest, I'd also love to see how an immutable point "as mutable objects are a mistake" would scale in terms of memory use and GC performance problems in a graphics engine. I'm not sold that mutability is inherently bad (although it *should* be controlled).
@lutandongqakaza6795
@lutandongqakaza6795 4 жыл бұрын
@@Zhuinden I do not want to put words in the authors mouth but in general when you here people say that inheritence is bad they mean to say "Composition over Inheritance". And you may or may not know that functional styles of programming prefer composition because it opens a massive pandoras box of possibilities (and simplifications)
@Zhuinden
@Zhuinden 4 жыл бұрын
@@lutandongqakaza6795 I figured the real issue is that you can `if(is MutableBlah)` over it, and easily turn an "immutable" class into a "mutable" one, if the "mutable" one is not also wrapped by an immutable one, in which case you may as well ditch the inheritance and have two separate classes that still implement a common interface.
Habits of Efficient Developers • Daniel Lebrero Berna • GOTO 2020
35:09
We Attempted The Impossible 😱
00:54
Topper Guild
Рет қаралды 56 МЛН
It’s all not real
00:15
V.A. show / Магика
Рет қаралды 20 МЛН
Гениальное изобретение из обычного стаканчика!
00:31
Лютая физика | Олимпиадная физика
Рет қаралды 4,8 МЛН
Dependency Injection, The Best Pattern
13:16
CodeAesthetic
Рет қаралды 905 М.
Why Isn't Functional Programming the Norm? - Richard Feldman
46:09
Functional Programming in 40 Minutes • Russ Olsen • GOTO 2018
41:35
GOTO Conferences
Рет қаралды 821 М.
A Practical-ish Introduction to Data Science • Mark West • GOTO 2020
43:39
All Rust string types explained
22:13
Let's Get Rusty
Рет қаралды 192 М.