behavior is identical. And really, if you never need to take the address of the variable, then a manifest constant using enum would be more appropriate.


Actually, I should say it *may* be more appropriate. Definitely only when the initializer is known at compile time. There are cases when you initialize a local immutable variable with a runtime value.

Reply via email to