this post was submitted on 12 Jul 2023
76 points (97.5% liked)

Programming

17533 readers
248 users here now

Welcome to the main community in programming.dev! Feel free to post anything relating to programming here!

Cross posting is strongly encouraged in the instance. If you feel your post or another person's post makes sense in another community cross post into it.

Hope you enjoy the instance!

Rules

Rules

  • Follow the programming.dev instance rules
  • Keep content related to programming in some way
  • If you're posting long videos try to add in some form of tldr for those who don't want to watch videos

Wormhole

Follow the wormhole through a path of communities [email protected]



founded 2 years ago
MODERATORS
 

I'm looking for a good on the eyes font that suport a feel special characters like ç, ã and í. It also need to have a easy difference between 0/O and I/l. Sorry if this is not the best place to ask this.

Edit: thank you everyone for the answers, i will use fira code on my terminal and intel one mono on my text editor.

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 1 points 1 year ago (3 children)

Since nobody has mentioned yet: I use a proportional font (Go Regular) for programming. It's weird at first but it's a pretty interesting exercise. There's an interesting write up about using non-monospaced font on the Input font website.

[–] [email protected] 4 points 1 year ago (1 children)

Not sure I can get behind this one. This is a quote from the write up you linked and while I agree these comments are dumb, a “don’t use this because our font won’t support it or a no it’s the editors that are wrong and should change” approach feel ridiculous.

Sometimes programmers rely on the monospaced grid to create a second column of values or comments on the right side of the page. It’s true, these secondary columns won’t align in a proportionally spaced font. But why are we making these columns in the first place? Even in a monospaced font they can be finnicky and hard to maintain. In virtually every other form of typography, the responsibility of alignment is given to the typesetting application, not the font. If source code editors can highlight syntax, they could also interpret tabs and syntax to create true, adjustable columns of text.

[–] [email protected] 1 points 1 year ago

Haha yes agreed! That’s why, for me, it’s an interesting exercise. As someone somewhat into typesetting it forced me to think about type properties that I never really thought about before.

[–] h_a_r_u_k_i 1 points 1 year ago

+1 for Go and Input fonts. You have the same stack as me.

[–] [email protected] 1 points 1 year ago* (last edited 1 year ago)

I just don't see how this:

^(https?://)?([\da-z.-]+).([a-z.]{2,6})([/\w .-])/?$

Is easier to read than this:

^(https?:\/\/)?([\da-z\.-]+)\.([a-z\.]{2,6})([\/\w \.-]*)*\/?$

It's not about alignment - tabs work in any decent editor. I just think it's easier to read fonts that are a little more spread out especially with operators.