Downcasting Is A Code Smell | Code Walks 043

Published: 13 October 2016
on channel: Christopher Okhravi
6,392
203

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


On this page of the site you can watch the video online Downcasting Is A Code Smell | Code Walks 043 with a duration of hours minute second in good quality, which was uploaded by the user Christopher Okhravi 13 October 2016, share the link with friends and acquaintances, this video has already been watched 6,392 times on youtube and it was liked by 203 viewers. Enjoy your viewing!