Live data from Hacker News

Swift is like Kotlin

nilhcem.com

71–80 of 364 posts

Re: Swift is like Kotlin

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

Re: Swift is like Kotlin

#72
Lol! just lol! Swift is, perhaps, the most carefully designed modern language based on a small set of explicit principles, articulated "philosophy" (clarity at the use site) crafted with an unprecedented attention to details (sometimes zeal is better that a standardized kitchen-sink syndrome of C++ or over-engineering narcissism of Scala), while Kotlin is just an unduly ambitious crap, like everything Russian.

Re: Swift is like Kotlin

#73
post #14

Earlier quoted context omitted.

it's always confusing, in languages with ranges, whether the range includes the second boundary element or not. it's purely a matter of convention, after all. ruby has a..b and a...b, but even after years of using the language i have to look up which is which. a.. perfect notation - once you know the language handles both cases, a.. as for the "count - 1", it's not too bad because i find "inclusive" more intuitive th…

Why is it a..b instead of the logical a..=b or a..<=b?

You only need to know that the language handles one explicitly, since there's two choices, so you might as well take the (more common | uglier to express) case and give it the "cleanest" special syntax: no special syntax.

Re: Swift is like Kotlin

#74
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.

Re: Swift is like Kotlin

#75
post #14

Earlier quoted context omitted.

it's always confusing, in languages with ranges, whether the range includes the second boundary element or not. it's purely a matter of convention, after all. ruby has a..b and a...b, but even after years of using the language i have to look up which is which. a.. perfect notation - once you know the language handles both cases, a.. as for the "count - 1", it's not too bad because i find "inclusive" more intuitive th…

Why is it a..b instead of the logical a..=b or a..<=b?

[deleted]

Re: Swift is like Kotlin

#76
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.

Kotlin is open source: https://github.com/JetBrains/kotlin

Re: Swift is like Kotlin

#77
It's strange that on the Kotlin side the author goes out of their way to show 'shorter' ways to do things that are also available in Swift but not illustrated.

    let sorted = [1, 3, 6].sorted()
    let sum = [1, 3. 6].reduce(0, +)
as examples

Re: Swift is like Kotlin

#78
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.

It is open sourced, Apache 2 license https://github.com/jetbrains/kotlin

Re: Swift is like Kotlin

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

Re: Swift is like Kotlin

#80
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.
Post reply on HN