Hacker News new | ask | show | jobs
by exceptione 771 days 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.