Introduction
Variables store information you want to use later. Type inference lets the computer guess the kind of data automatically, so you write less code.
When you want to remember a user's name in your app.
When you need to keep track of a score in a game.
When you want to store a color or size for a button.
When you want to hold a list of items to show on the screen.