Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
sam_lowry_
42 days ago
|
parent
|
context
|
favorite
| on:
Use Your Type System
Also validation. In Java, you can have almost seamless validation on instantiation of your very objects. That's why having a class for IBAN instead of String containing IBAN is the right way to do.
codr7
42 days ago
[–]
Allocating objects for every single property can turn pretty bad in Java.
A strong enough type system would be a lot more useful.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: