Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
pastrami_panda
· 3y ago · 0 comments
Reading half of it I'm struggling to see why they chose the semantic 'false?'. How do you read it? It sounds like a question, why not just 'false'?
Comments
[–]
u320
3y ago
AFAICT: Just "false" would be a regular boolean value. The question mark turns it into a logic value so it can be used in conditionals.
[–]
pastrami_panda
OP
3y ago
But there are no bools in Verse so seems the keyword isn't taken and could have just been syntactic sugar for 0 from what I can tell?
[–]
u320
3y ago
There are no bools in Verse conditionals. That doesn't mean that there are no bools in the language at all.