Y
Hacker News
new
|
ask
|
show
|
jobs
by
donarb
1428 days ago
Const variables are traditionally initialized at compiled time. In Swift, let may be initialized at runtime and then becomes immutable.
1 comments
tekknik
1427 days ago
that’s just a choice by the language designer. nothing prohibits initialization at runtime.
link