News for hackers. Stuff that matters.
Re:Swift is like Kotlin by pvdebbe on Thursday May 18, 2017 @03:53AM (#14365534)
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")

There are no comments on this comment yet.