Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
bbotond
on Oct 25, 2012
|
parent
|
context
|
favorite
| on:
The most dangerous code in the world
I think the real problem is the name of the option, not the range of its accepted values. Should they have named it HOST_VERIFICATION_LEVEL or something similar, no-one would think it's boolean.
jiggy2011
on Oct 25, 2012
[–]
In that case "TRUE" shouldn't be a valid value.
bbotond
on Oct 25, 2012
|
parent
[–]
I think that's because in the weakly typed language used, TRUE is a constant with a value of 1.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: