3 ms·
The curly braces came in for some attention here on HN a month ago: https://news.ycombinator.com/item?id=35925637 https://news.ycombinator.com/item?id=35925637
by cratermoon 3y ago
The curly braces came in for some attention here on HN a month ago: https://news.ycombinator.com/item?id=35925637 https://news.ycombinator.com/item?id=35925637
I don't hate them, but in languages where curly braces significantly outnumber parentheses and square brackets, it takes some getting used to. I kind of wonder what would have happened if they'd left curly braces more conventional and changed parentheses and square brackets to distinguish them? I suspect it's better to have one pair of glyphs that stands out rather than making two other unconventional.
ETA: also caret left/right.