Live data from Hacker News

Swift is like Kotlin

nilhcem.com

81–90 of 364 posts

Re: Swift is like Kotlin

#82
post #71

Here 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.

I dunno, this seems reasonable compared to the complaints against CockroachDB

Re: Swift is like Kotlin

#83
post #11

It is worth noting that both languages also resemble Scala. see: https://leverich.github.io/swiftislikescala/ https://agilewombat.com/2016/02/01/scala-vs-kotlin/

I personally think this exercise is rather odd in the first place. A lot of modern languages seem to have a same base syntax and these comparisons over simple operations is like taking all of the latin based languages and showing all the words that look similar.

Re: Swift is like Kotlin

#84
post #71

Here 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.

Also Kot means faeces in German.

Re: Swift is like Kotlin

#85
post #36
post #16

Earlier 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)

As someone who's never programmed in Scala, it's not intuitive to me at all that "until" means exclusive, given that "to" (which is basically a synonym) means inclusive.

Re: Swift is like Kotlin

#86
post #79

One 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.

> [Kotlin Native] features automatic reference counting with a cycle collector on top, but what the final memory management solution(s) will look like is unknown at this point.

https://blog.jetbrains.com/kotlin/2017/04/kotlinnative-tech-...

Re: Swift is like Kotlin

#87
post #71

Here 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.

I looked it up, and Kotlin is an island (https://en.wikipedia.org/wiki/Kotlin_Island) 1,000km north of Ukraine. Is it a case like Alcatraz, where the location has become idiomatically synonymous with the facilities?

Re: Swift is like Kotlin

#88
post #71

Here 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.

Who cares about Ukraine? You won't be a country for much longer anyways.

Re: Swift is like Kotlin

#89
post #71

Here 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.

Ironically, the name "Kiev" would be no less offensive becuase this spelling of the name implies that this is a Russian city, not a Ukrainian one. The official and correct spelling is "Kyiv", see http://kyiv.of-cour.se/ for explanations why.
Post reply on HN