| ▲ | Larrikin 4 days ago | |||||||||||||||||||||||||
Can you give concrete examples? I played with Swift in school after already making the dive into Kotlin. It just felt like Kotlin but trapped on Apple. Part of the program even included a course in using a different language every couple weeks where we went through Scala, Lisp, and some others just to see what they could do. Currently Kotlin is far and away my favorite language but I also haven't looked into the newer languages recently and am interested in hearing pain points people have. Especially if it isn't annoyances with Gradle | ||||||||||||||||||||||||||
| ▲ | cosmic_cheese 4 days ago | parent [-] | |||||||||||||||||||||||||
Broadly speaking, Kotlin deviates from popular conventions more than Swift does. For example, Kotlin expects you to use inline if statements where in Swift, ternary operators work like they do in C, JavaScript, and many other languages. There's also things like Swift's guard statements that can help make intent clearer and read a bit more nicely. | ||||||||||||||||||||||||||
| ||||||||||||||||||||||||||