Apart from using (byte[]) in streaming I don\'t really see byte and short used much. On the other hand I have seen long used where the actual value is |100| and byte would b
Most of the time, there's never a real good technical reason for a developer (Java, C#, BASIC, etc.) to decide for an int, short or byte - when the capacity is enough, of course. If the value will be under 2 billion then int it will be.
Are you sure we'll have people older than 255? Well, you never know!
Aren't 32,767 possible countries enough? Don't think too small!
In your example, you can be perfectly happy with your byte var containing 100, if you are absolutely sure than it will NEVER overflow. Why do guys use int the most? Because.... because.
This is one of those things that most of us just do because we saw it that way most of the time, and never asked differently.
Of course, I have nothing against "all things int". I just prefer to use the right type for each kind of value, no stress involved.