5 ms·
I think most notably is the different paradigms towards memory management. The syntax is very similar between the two languages, something like 80% identical, b
by hellofunk 7y ago
I think most notably is the different paradigms towards memory management. The syntax is very similar between the two languages, something like 80% identical, but that's trivial.
- skohan 7y agoHow do Kotlin's interfaces compare to Swift protocols? Being able to do things like provide default implementations in a protocol are some of the biggest Swift features for me.
- andrekandre 7y agoit’s not exactly the same thing, but you can kind of accomplish something similar to “swift protocols with default implementations” with abstract classes https://www.programiz.com/kotlin-programming/abstract-class https://www.programiz.com/kotlin-programming/abstract-class