logoalt Hacker News

jorviyesterday at 1:06 PM3 repliesview on HN

What is that abomination of a curly brace. It looks like a squiggle that someone had to jot down in a rush.

https://fonts.google.com/specimen/Google+Sans+Code


Replies

rozabyesterday at 5:03 PM

Curly braces can be really hard to distinguish from parens because they appear in the same sort of place in e.g. JS, and IDEs and highlighters often render them in stupid low-contrast colours. I hate it aesethetically, but I get the usability need.

maaarghkyesterday at 1:57 PM

Hmm, my first reaction was the same as yours. But I have quite bad eyesight and looking at the "regular 400 at 16px" example on the page reminded me that I definitely sometimes find myself squinting trying to work out whether a character is a parenthesis or a brace (Droid Sans Mono). So I suppose it'd probably be quite helpful to have a brace that's very visually distinct from parenthesis even if it's not particularly pretty on its own.

show 1 reply
IAmBroomyesterday at 1:57 PM

Oh, it can't be that ba.... OMG KILL IT WITH FIRE! WE HATES IT!

--my actual reaction

show 1 reply