Downcasting is a fundamentally bad idea. In this video I talk about why. First from a theoretical point of view (all cats are animals but not all animals are cats) and then from a pragmatic collaboration perspective (I cannot trust your interface if you are downcasting).
MORE ON TYPE CHECKING
► Type Checking Is A Code Smell ( • Type Checking is a Code Smell | Code Walks... )
► Type Checking and Coupling To Concretions ( • Type Checking is a Code Smell | Code Walks... )
GEAR USED
► CAMERA: Canon 70D http://amzn.to/29wR8wG
► LENS: Canon 10-18mm http://amzn.to/29srabL
► TRIPOD: JOBY Gorillapod Zoom http://amzn.to/29AdkHT
Sur cette page du site, vous pouvez voir la vidéo en ligne Downcasting Is A Code Smell | Code Walks 043 durée heure minute seconde en bonne qualité , qui a été Téléchargé par l'utilisateur Christopher Okhravi 13 octobre 2016, Partagez le lien avec vos amis et connaissances, sur youtube cette vidéo a déjà été regardée 6,392 fois et il a aimé 203 téléspectateurs. Bon visionnage!