5 ms·
Nitpick, the Hello World comparison is more like: Swift print("Hello, world!") Kotlin fun main(args: Array<String>) { println("Hello, world!
by Zarel 9y ago
Nitpick, the Hello World comparison is more like:
Swift
print("Hello, world!")
Kotlin
fun main(args: Array<String>) {
println("Hello, world!")
}
- Larrikin 9y agoKotlin has a REPL
- deleted 9y ago[deleted]
- dcgoss 9y agoSo does Swift (https://developer.apple.com/swift/blog/?id=18 https://developer.apple.com/swift/blog/?id=18) (https://repl.it/site/blog/swift https://repl.it/site/blog/swift)
- AJRF 9y agoYou've missed the point. He is saying that to get a hello world going in Kotlin you don't need to write a func if you are in the context of the REPL.
- Tanegashima 9y agoSo does Swift
- amasad 9y agoWe also support kotlin as of yesterday https://repl.it/site/blog/kotlin https://repl.it/site/blog/kotlin