News for hackers. Stuff that matters.
Re:Swift, the new way to build iOS Apps. Here's how by gress on Tuesday June 03, 2014 @02:50PM (#7842061)
Let is fine for defining constants, but it should also be used whenever possible for two reasons:

1. It gives you additional safety against accidental reassignment.

2. It gives the compiler a major optimization hint since the value is not a variable.

Re:Swift, the new way to build iOS Apps. Here's how by Jweb_Guru on Tuesday June 03, 2014 @03:04PM (#7842122)
The latter isn't really true when it comes to local variables. Compilers are pretty good at figuring that sort of thing out these days.
Re:Swift, the new way to build iOS Apps. Here's how by gress on Wednesday June 04, 2014 @12:47AM (#7844087)
It is one of the reasons stated by Apple at today's WWDC session.