Basic Syntax
Variable Declaration
Swift uses let for constants and var for variables, while Kotlin uses val for constants and var for variables.
let name = "John"
var age = 25
val name = "John"
var age = 25
Type Inference
Both languages support type inference, allowing the compiler to