Live data from Hacker News

Programming Fonts – Test Drive

app.programmingfonts.org

221–230 of 289 posts

Re: Programming Fonts – Test Drive

#221
post #161

It drives me crazy when fonts look at the old convention of "strike through zero" and for some reason decides they need to be different from the convention and allow the strike to pass the edges of the zero circle. "Anka/Coder" in the linked article is guilty of this. When the strike passes the edge of the circle, it's no longer a zero, it's a Danish or Norwegian "Ö" (Ø). It's been a part of their alphabet for centur…

I actually find the coin-style zero superior, like that shown in Hack font, as it avoids ambiguity with the Ø symbol.

Re: Programming Fonts – Test Drive

#223
post #44

I'm surprised that the list doesn't mention consolas. It ships default with visual studio and it's so good that I use it on arch Linux as my terminal font and with intellij. It was designed with programming in mind and has some nifty characteristics like a slash through zero. This list also misses out on 'operator mono' which is a well thought out font for programming.

Hi, I'm the author of programmingfonts.org. Operator Mono certainly is pretty. I always loved consolas on Windows (honestly, it's the only thing that rendered properly on Win7). That said, I can only include fonts that are freely available, or where the owner of the font allows me to (in the case of Input Mono). I have tried for a few others, but haven't been so lucky there. So, no proprietary or otherwise commercial…

Check out B612 Mono

http://b612-font.com/

Re: Programming Fonts – Test Drive

#224
post #4

One of my favorites is PragmataPro [0] (with powerline glyphs) and I'm sad it's not there. I guess they can't use proprietary fonts. PragmataPro was so weird when I started using it but it has grown on me and now I have a hard time switching to a terminal that uses something else. In any case, if you're like me and you look at the terminal screen for hours on end every single day, find some font that won't tire your…

I also second PragmataPro. I've been using it for 5+ years now. The ligatures are fully optional, and the font comes in several variants for software that doesn't allow to select features.

It's a slab serif, condensed. You have to like the style. Some people prefer the opposite (wide with ample interline spacing).

It packs quite some columns on the screen while still being perfectly readable and basically every glypth is hand-tuned for small pixel sizes. There's not much else comparable designed with that amount of care.

The closest font on a stylistic basis I've seen is Iosevka.

Re: Programming Fonts – Test Drive

#225
post #161

It drives me crazy when fonts look at the old convention of "strike through zero" and for some reason decides they need to be different from the convention and allow the strike to pass the edges of the zero circle. "Anka/Coder" in the linked article is guilty of this. When the strike passes the edge of the circle, it's no longer a zero, it's a Danish or Norwegian "Ö" (Ø). It's been a part of their alphabet for centur…

So you're reading a number and then -blurp- your mind goes "Danish" or "Norwegian" letter?

Context doesn't come into play?

I mean - I can understand such confusion if you are dealing with some kind of multi-character random code or such (ie - a "confirmation code" for instance), and the site is primarily targeted to Danish or Norwegian users; in that case, the confusion would be valid.

Much like such codes in "English" (maybe "Latin" might be a better description?), without having a distinguishing mark for the zero, and depending on the font used - where a zero can look like a capital letter "O". Was that "0" or "O"? That can be an issue, depending on the language of the users, etc.

But aside from those particular cases, which aren't very frequent, most of the time you can infer what is meant by what, based on the context of the surrounding characters and the information that is likely being conveyed.

I'm not sure one should get too upset by such a minor thing...?

Re: Programming Fonts – Test Drive

#226

No love for gohu font? ( http://font.gohu.org/ )

Lots of old school fonts aren't available in a format that browsers understand. A TTF version of Terminus is in there though. IIRC there was something wrong with the Gohu font files , I'll have to look if that's fixed nowadays.

Re: Programming Fonts – Test Drive

#227
post #225
post #161

It drives me crazy when fonts look at the old convention of "strike through zero" and for some reason decides they need to be different from the convention and allow the strike to pass the edges of the zero circle. "Anka/Coder" in the linked article is guilty of this. When the strike passes the edge of the circle, it's no longer a zero, it's a Danish or Norwegian "Ö" (Ø). It's been a part of their alphabet for centur…

So you're reading a number and then -blurp- your mind goes "Danish" or "Norwegian" letter? Context doesn't come into play? I mean - I can understand such confusion if you are dealing with some kind of multi-character random code or such (ie - a "confirmation code" for instance), and the site is primarily targeted to Danish or Norwegian users; in that case, the confusion would be valid. Much like such codes in "Englis…

I would imagine that if you speak a language that includes that letter, it would be much more annoying

Re: Programming Fonts – Test Drive

#228

Earlier quoted context omitted.

> Curious. How do you line things up? I don't! :-) I spent many years lining things up. I would write code like this: foobar(firstArg, secondArg, thirdArg); (For the sake of discussion, assume that those arguments were too long to just put it all on one line, so you would naturally want to use multiple lines.) Then when I realized that 'foobar' wasn't such a good name, I had to re-align all the code: doTheRealThing(f…

> I had to re-align all the code: Cannot you just have your editor do that for you?

It was about 25 years ago that I stopped using alignment, and the editors I was using didn't have that kind of auto-formatting.

But there was more to it: I realized that I didn't like column alignment any more. It didn't make the code any more readable, and in many cases it made it less readable.

A more recent example of a group that abandoned alignment is the Rust and Servo teams at Mozilla. Their code style used to look like this:

    let mut rewrites = try_opt!(subexpr_list.iter()
                                            .rev()
                                            .map(|e| {
                                                rewrite_chain_expr(e,
                                                                   total_span,
                                                                   context,
                                                                   max_width,
                                                                   indent)
                                            })
                                            .collect::>>());

A year or so ago they changed to a purely indentation-based style:

    let mut rewrites = try_opt!(
        subexpr_list
            .iter()
            .rev()
            .map( |e| {
                rewrite_chain_expr( e, total_span, context, max_width, indent )
            })
            .collect::>>()
    );
They found this style to have advantages over alignment, perhaps for some of the same reasons that I prefer it.

Re: Programming Fonts – Test Drive

#230
Something not in the list that would make a good addition is iA’s (makers of the popular iA Writer app) fork of IBM Plex Mono. They took Plex and redesigned some of the more quirky, IBM-brand glyphs such as loosening the tight radii on the descenders of ’t’ and ‘j’, and built some fairly novel duospace and quad-space versions: https://ia.net/writer/blog/a-typographic-christmas

The GitHub link is somewhat buried in the post: https://github.com/iaolo/iA-Fonts

Post reply on HN