Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
donarb
· 4y ago · 0 comments
Const variables are traditionally initialized at compiled time. In Swift, let may be initialized at runtime and then becomes immutable.
Comments
[–]
tekknik
4y ago
that’s just a choice by the language designer. nothing prohibits initialization at runtime.