News for hackers. Stuff that matters.
Re:Zygomys – An embedded scripting language for Go by unwind on Thursday December 15, 2016 @07:01AM (#13183988)
Code like

    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. :)
Re:Zygomys – An embedded scripting language for Go by jaten on Thursday December 15, 2016 @08:37AM (#13184458)
The infix is optional, but I do find it nice for interaction.
Re:Zygomys – An embedded scripting language for Go by lacampbell on Thursday December 15, 2016 @01:27PM (#13186839)
You get used to real s-expressions very quickly. People have a big hangup about it bit if you have an open mind it becomes a non-issue.
Re:Zygomys – An embedded scripting language for Go by lacampbell on Thursday December 15, 2016 @01:25PM (#13186824)
actually much nicer (and shorter) with a real s-expression:

    (println 
     (if (== (+ x y) 8)
         "we add up"
         "wat"))