Y
Hacker News
new
|
ask
|
show
|
jobs
by
flippinburgers
1711 days ago
Just have a concrete type (class/interface) that specifies required fields.
This is overkill that will only confuse everyone who isn't the original author.