Skip to main content
Guest
My Media
My Playlists
My History
Login
Search
Add New
Media Upload
Guest
My Media
My Playlists
My History
Login
Cornell University
Cornell University
Close search in video box
Home
Channels
My Media
Help
Back
Top
All
Home
Channels
My Media
Help
Play
Play
Back to video
00:00
Play
Seek 10 seconds backwards
Seek 10 seconds forward
00:00 / 00:00
Mute
Picture in picture
Fullscreen
Lesson 24.1 Strict Typing
From
Hannah Lee
November 12, 2020
67 plays
67
Related Media
Loading…
Details
Details
.
.
.
Details
.
.
.
Back
Whenever we have enforced preconditions, we have always used the type function. In this video we show why that is a problem, particularly when we want to use an object argument that is a subclass of the type allowed.
Tags
fraction
operations
int
typing
denominator
thing
multiplication
problem
class
preconditions
series
subclasses
error
fractions
subclass
definition
lot
assertion
power
sense
Looking for more...
Related Media
Loading…