Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
pvdebbe
on May 18, 2017
|
parent
|
context
|
favorite
| on:
Swift is like Kotlin
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: