Computer Science / Unit 7 CS 0364 short lesson, about 20 seconds
Strong Typing
Captions available
The idea
Strong typing restricts a variable to holding values of the type with which it was defined — a language characteristic enforcing that names keep their declared kind.
In practice
A scoreboard slot declared for whole numbers refuses a word, every time, on purpose.
Where people slip
The restriction is protection wearing the costume of inconvenience.
Your place on the trail
Every lesson rests on earlier ones and opens later ones. Tap any to jump.
Something wrong in this lesson? Flag it · Sources for Computer Science