Skip to content

Comment on Big Programming, Small Programming – Glow, the language

Comments

The syntax looks very pretty, but why the colons at the end of block header statements? Python does this too, but I see no reason for it. In my opinion that makes it look a bit cluttered, contrast it for example with the (excellent) coffeescript syntax.

Colon + indentation is actually the most natural way to signify a block that I have ever seen. Pretty, non-cluttering and sort of light for the eyes. And it's not without precedent: it resembles how colon is used in text.

AboutSource Built by g1lg1l

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