Skip to content

Braces are the future Hear, hear you Rubyists & Coffeeists

5 pointszappan2 comments
On HN

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

Comments

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.

SyntaxError: not a chance

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.