by unwind · 9y ago · 0 comments
if x + y == 8 { (println "we add up") } else { (println "wat?" ) }
really seems to combine syntaxes in a super-confusing manner ... The "if" is not in an s-expression, but the println call is? And there are blocks denoted using C-style braces mixed in ... I think this would take a while to get used to. :) (println
(if (== (+ x y) 8)
"we add up"
"wat"))