Nitpick, the Hello World comparison is more like: Swift print("Hello, world!") Kotlin fun main(args: Array ) { println("Hello, world!") }
Kotlin has a REPL
Swift is like Kotlin
81–90 of 364 posts
Re: Swift is like Kotlin
#82Here in Ukraine it would be very hard to get adoption of a programming language that is named after a Russian military base. This is the rare case where bad naming choice really hurts. No matter how good is the language, you will have to hear and pronounce that name many times a day, and even associate yourself with it (e.g. "a Kotlin developer" in your resume). Not something to be taken lightly.
That's the biggest BS I've ever read on HN.
Re: Swift is like Kotlin
#83It is worth noting that both languages also resemble Scala. see: https://leverich.github.io/swiftislikescala/ https://agilewombat.com/2016/02/01/scala-vs-kotlin/
Re: Swift is like Kotlin
#84Here in Ukraine it would be very hard to get adoption of a programming language that is named after a Russian military base. This is the rare case where bad naming choice really hurts. No matter how good is the language, you will have to hear and pronounce that name many times a day, and even associate yourself with it (e.g. "a Kotlin developer" in your resume). Not something to be taken lightly.
Re: Swift is like Kotlin
#85Earlier quoted context omitted.
Indeed a clear syntax. OTOH, a "loop .. for .. {upto, below} count" leaves less questions in a casual code review :)
I prefer explicit words over symbols, like in Scala: scala> 1 to 3 scala.collection.immutable.Range.Inclusive = Range(1, 2, 3) scala> 1 until 3 scala.collection.immutable.Range = Range(1, 2)
Re: Swift is like Kotlin
#86One has structures, ARC, proper extensions, good protocols/interfaces, flexible enums, and runs natively. The other one doesn't. I think I'll choose the former.
Kotlin Native ships with an ARC. But depending on the application ARC can be a disadvantage since it can't automatically handle reference cycles like Kotlin on the JVM can.
https://blog.jetbrains.com/kotlin/2017/04/kotlinnative-tech-...
Re: Swift is like Kotlin
#87Here in Ukraine it would be very hard to get adoption of a programming language that is named after a Russian military base. This is the rare case where bad naming choice really hurts. No matter how good is the language, you will have to hear and pronounce that name many times a day, and even associate yourself with it (e.g. "a Kotlin developer" in your resume). Not something to be taken lightly.
Re: Swift is like Kotlin
#88Here in Ukraine it would be very hard to get adoption of a programming language that is named after a Russian military base. This is the rare case where bad naming choice really hurts. No matter how good is the language, you will have to hear and pronounce that name many times a day, and even associate yourself with it (e.g. "a Kotlin developer" in your resume). Not something to be taken lightly.
Re: Swift is like Kotlin
#89Here in Ukraine it would be very hard to get adoption of a programming language that is named after a Russian military base. This is the rare case where bad naming choice really hurts. No matter how good is the language, you will have to hear and pronounce that name many times a day, and even associate yourself with it (e.g. "a Kotlin developer" in your resume). Not something to be taken lightly.
If they open source it, maybe someone should fork it called Kiev.