Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
cperciva
on July 12, 2010
|
parent
|
context
|
favorite
| on:
How to avoid the assignment statement
You're disagreeing with the wrong person here.
loup-vaillant
on July 12, 2010
[–]
I disagreed with your "extreme example", on the grounds that checking arguments instead of return values is a bad idea.
cperciva
on July 12, 2010
|
parent
[–]
Yes, I know. I also disagree with philwelch's suggestion of checking arguments -- that's why I presented that extreme example.
loup-vaillant
on July 12, 2010
|
root
|
parent
[–]
OK, let's pretend I was tired. I
was
disagreeing with the wrong comment…
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: