4 ms·
There are other places were you use types as well. Also, if you later decide that an Age should not be int, but a string, you wont miss it in refactoring where
by exceptione 2y ago
There are other places were you use types as well.
Also, if you later decide that an Age should not be int, but a string, you wont miss it in refactoring whereas in your example you don't have that facility.