Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
emmelaich
on Sept 26, 2015
|
parent
|
context
|
favorite
| on:
Urbit: an operating function
I call it the Tolstoy model:
"All happy families are alike; each unhappy family is unhappy in its own way"
You only need one value for success/true. But you need many to indicate the modes of failure.
eru
on Sept 27, 2015
[–]
How about not using numbers for Booleans?
api
on Sept 27, 2015
|
parent
[–]
CPUs grok numbers. This would be inefficient.
eru
on Sept 28, 2015
|
root
|
parent
[–]
Oh, you can use numbers behind the scenes. Just make sure your type system hides the ugly truth.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: