Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
adamnemecek
on Feb 3, 2013
|
parent
|
context
|
favorite
| on:
Hapi, new Node.js framework (a prologue)
I believe that peter_l_downs was using this exotic literary device called an "example". When you read about class inheritance, was your first reaction "This is useless, why would I ever want to have a Dog class which is based on an Animal class"?
randallsquared
on Feb 3, 2013
[–]
Having an internal module know how to interact with a request seems to me to be the
point
of the example, and I also disagree with it, as a rule.
flaviojuvenal
on Feb 3, 2013
|
parent
[–]
The module doesn't
know
how to interact with a request. Only with integer variables.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: