Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on Ask HN: Why choose a dynamically typed language?. Parent comment
void DoSomething(Fuit fruit, uint quantity) { .. }
Inside that method you will be guaranteed to receive only apples or bananas and a non-negative integer for quantity.
There are no comments on this comment yet.
void DoSomething(Fuit fruit, uint quantity) { .. }
Inside that method you will be guaranteed to receive only apples or bananas and a non-negative integer for quantity.