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

that’s just a choice by the language designer. nothing prohibits initialization at runtime.