Hacker Newsnew | past | comments | ask | show | jobs | submitlogin
Swift, defects thereof (2016) (zsmith.co)
3 points by xigency on Jan 11, 2018 | hide | past | favorite | 1 comment


“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: