Hacker News new | ask | show | jobs
by ktran03 4392 days ago
“The value of a constant doesn’t need to be known at compile time, but you must assign it a value exactly once.”

Excerpt From: Inc, Apple. “The Swift Programming Language.” Apple Inc.

Check out this book on the iBooks Store: https://itunes.apple.com/WebObjects/MZStore.woa/wa/viewBook?...

1 comments

Thanks for clearing that up. I misread the example in the Swift Programming Language reference.