Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

My hunch says that in order to be anywhere usable, any extra arithmetic must be done inside curly brackets, much like in Perl or PHP. It makes sense and is easy to parse for both human and compiler.

  println("foo ${oneInch.cm()} bar")
  println("fez $quux")


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: