Live data from Hacker News

Dev Fonts

devfonts.gafi.dev

91–100 of 342 posts

Re: Dev Fonts

#91
post #87
post #31

Earlier quoted context omitted.

Can you easily differenciate between == and === with ligatures ? That's one thing that holds me back to trying ligatures.

Of course. A `==` is two characters long, while `===` is three characters long. Also, with the font I use (Fire Code) the `===` ligature has three lines, making it even easier to distinguish.

I just had a look at Fire Code. How do you distinguish -> with ligatures from → (an Unicode arrow)?

Re: Dev Fonts

#92
I was literally just looking for this two days ago when I had to reinstall my main system and of course ended up searching here. [0]

One thing I noticed: I really want a different font for my terminal than for my editor – for the terminal I went for DejaVu Sans Mono, it's clean but still has some character, especially the dotted 0.

[0]: https://news.ycombinator.com/item?id=7360996

Re: Dev Fonts

#93
post #31
post #23

Earlier quoted context omitted.

This looks really nice, too bad it doesn't (and never will) support ligatures. I understand the point the author is trying to make about ligatures in the separate blog post, but boy do I love my ligatures when programming.

Can you easily differenciate between == and === with ligatures ? That's one thing that holds me back to trying ligatures.

Yes, it’s fairly obvious. It depends on the font, but my triple comparisons actually have three bars (you can see it in the examples I think)

Re: Dev Fonts

#94
post #7
post #5

More and more often, I see ligatures being used on such fonts. E.g. === or != are combined in a visually single character. Personally, I don't like that at all as I think it makes code less readable. It is probably something that you can get used to. But what exactly is the appeal of it anyway?

Well I guess the idea is that the ligatures represent the concepts that the combination of symbols are trying to represent. Also it looks pretty If you're staring a text editor for 8+ hours a day, it is important what you are staring at is pleasing to you.

I'll be honest, I've never grasped the perspective that sees typography as a meaningful aesthetic property of code. I mean, when I look at code, I'm not appreciating it as visual art, I'm reading it. Usually the point at which that stops happening is the point at which my brain is tired enough that it's time to go do something else for a little while and recover.

So, as long as the font I'm using doesn't actively impair legibility, which is a pretty low baseline, it doesn't really matter - and in any case, if it's a visual aesthetic I want, I'll go do it in Illustrator where I can actually have precise control over every aspect of that aesthetic, instead of forcing my programming environment to double as an installation art piece.

(DejaVu Sans Mono, in case anyone cares, or Menlo on Apple hardware since it doesn't want installing. Haven't changed it in what must be close to a couple decades by now; somebody sneakernetted me a copy of Vera Sans Mono in my earliest days of moving up from the helpdesk and I never looked back. Doesn't changing fonts impose a cognitive overhead of its own for a while?)

...all of which is to say I favor brutalism, I guess.

Re: Dev Fonts

#95
post #5

More and more often, I see ligatures being used on such fonts. E.g. === or != are combined in a visually single character. Personally, I don't like that at all as I think it makes code less readable. It is probably something that you can get used to. But what exactly is the appeal of it anyway?

> But what exactly is the appeal of it anyway? To answer this question you probably need to start broader with: why do ligatures exist in fonts at all? Then see if that applies to programming. There's various accounts of the "reasons" ligatures came to be, but of the few I've seen all would (imo) apply equally to code as to language. The obvious one is pure aesthetic preference, but another is that ligatures came abo…

Why would copy-pasting force retention of ligatures? Ligatures don't change the underlying characters, only the graphical representation of them.

Re: Dev Fonts

#96
post #87

Earlier quoted context omitted.

Of course. A `==` is two characters long, while `===` is three characters long. Also, with the font I use (Fire Code) the `===` ligature has three lines, making it even easier to distinguish.

I just had a look at Fire Code. How do you distinguish -> with ligatures from → (an Unicode arrow)?

The ligaturized -> is two characters wide and is pretty easy to tell apart.

Re: Dev Fonts

#98

This needs an option to adjust the font size used with samples. Lots of fonts show some really weird artifacts in smaller sizes. Also, the list needs Dina [1] in its TTF version [2] [1] https://www.dcmembers.com/jibsen/download/61/ [2] https://chrisrickard.blogspot.com/2010/05/geenatcom-dina-ttf...

programmingfonts.org has this, as a one-click function.

Re: Dev Fonts

#99
post #87

Earlier quoted context omitted.

Of course. A `==` is two characters long, while `===` is three characters long. Also, with the font I use (Fire Code) the `===` ligature has three lines, making it even easier to distinguish.

I just had a look at Fire Code. How do you distinguish -> with ligatures from → (an Unicode arrow)?

The Unicode arrow looks smaller and is positioned lower, while the ligature has the same size as -> with the dash extended into the 'arrow'. Not that I use this frequently.

Re: Dev Fonts

#100
post #5

More and more often, I see ligatures being used on such fonts. E.g. === or != are combined in a visually single character. Personally, I don't like that at all as I think it makes code less readable. It is probably something that you can get used to. But what exactly is the appeal of it anyway?

I decided to try out ligatures a couple days ago. After about 5 minutes of getting oriented, I liked it better. The whole = == === thing ended up working out as a short = a long = and a three bar (giant hamburger?) were a lot easier to spot than the individual characters side-by-side. != turned into a double-width not equals symbol. So, 50% fun and 50% practical.
Post reply on HN