News for hackers. Stuff that matters.
Re:Introducing Swift by outworlder on Monday June 02, 2014 @04:16PM (#7836023)
The only practical use is that we can assign functions to a variable named λ Or define a type alias to that.

On a more serious note, several languages have that, Ruby included.

Re:Introducing Swift by e12e on Monday June 02, 2014 @07:44PM (#7837252)
It's not entirely useless to be able to use natural-language words/names for variables (if your language happen to not be English). For example when teaching kids how to code, why have proper spelling (eg: naming a "crow", "krake" rather than the proper "kråke") be an error? Just adds another barrier to learning.

I think we're approaching the level of unicode penetration that this shouldn't really be much of a problem.

Incidentally, I think this will be much more useful in Japan and possibly parts of China than in the parts of the world that speak an indo-european language (and therefore has an easier time learning English).

But, those areas that doesn't speak native English is of course just a small market. /s

Re:Introducing Swift by hornetblack on Monday June 02, 2014 @08:55PM (#7837556)
I've only seen one thing actually use it in Go:

    	func Polar(x complex128) (r, θ float64) {
    		return Abs(x), Phase(x)
    	}
    
It seems to be good for documentation reasons.