3 ms·
There's no difference that I'm aware of in Swift. There is in Rust, where a const is a compile-time value but an immutable variable is a value that can be defi
by agildehaus 4y ago
There's no difference that I'm aware of in Swift. There is in Rust, where a const is a compile-time value but an immutable variable is a value that can be defined anytime and then its immutability is enforced by the compiler.