Content
@
0 reply
0 recast
0 reaction
Vitalik Buterin
@vitalik.eth
In regular programming, zero is false and anything else is true. In ZK cryptography, zero is true and anything else is false.
77 replies
204 recasts
1225 reactions
Venkatesh Rao ☀️
@vgr
Hmm. Isn’t this also the case in Hoon, the urbit language? Though iirc that was just an arbitrary design flex with no reasoning behind it.
1 reply
0 recast
29 reactions
horsefacts
@horsefacts.eth
It is, they call it a "loobean" instead of a "boolean."
2 replies
0 recast
6 reactions
grin↑
@grin
and iirc its not arbitrary, but a nod to linux exit codes and also an intentional hurdle to keep "normie" devs away
1 reply
0 recast
0 reaction
OPi
@opimedia
Nice. I didn't know this word. https://developers.urbit.org/reference/glossary/loobean It is also the convention for the return code of a correct program execution. And so it is for me THE good convention in shell scripts (sh, bash, etc.)
0 reply
0 recast
0 reaction