Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
Swift, defects thereof (2016)
(
zsmith.co
)
3 points
by
xigency
on Jan 11, 2018
|
hide
|
past
|
favorite
|
1 comment
melling
on Jan 11, 2018
[–]
“The decision made by Swift's designers to use the word let instead of const or even static is strange.”
let greeting = “hello”
Is much nicer than
constant greeting = “hello”
Haskell and OCaml use let for assignment (immutable).
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: