News for hackers. Stuff that matters.

Braces are the future Hear, hear you Rubyists & Coffeeists

So, apparently, even the most indentation scoped languages are accepting that braces are the real deal and the way to do things right

If you check this SOF answer http://stackoverflow.com/questions/101268/hidden-features-of-python#112303 you may notice the line sayin'

"from __future__ import braces"

Finally, no more lexical nonsense, just pure and clean visual scoping by following the braces! Victory!

:D

( 2 comments | 5 points | on HN )
Re:Braces are the future Hear, hear you Rubyists & Coffeeists by LarryMade2 on Friday June 28, 2013 @04:49PM (#5960283)
DANG IT! Ya got me all excited... Man, I would really like to see braces implemented properly in python. The lack of braces/indentation method sucks for providing easy visual clues.
Re:Braces are the future Hear, hear you Rubyists & Coffeeists by mthomas on Friday June 28, 2013 @08:14AM (#5957509)
SyntaxError: not a chance