Swift is like Kotlin
71–80 of 364 posts
Re: Swift is like Kotlin
#72Re: Swift is like Kotlin
#73Earlier 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?
Re: Swift is like Kotlin
#74Here 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
#75Earlier 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?
Re: Swift is like Kotlin
#76Here 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
#77 let sorted = [1, 3, 6].sorted()
let sum = [1, 3. 6].reduce(0, +)
as examplesRe: Swift is like Kotlin
#78Here 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
#79One 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.
Re: Swift is like Kotlin
#80Here 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.