5 ms·
Just was wondering if today anyone is still using them, so I guess that does not need to be asked. All right, oh my captain, keep the indents and spacing tight
by hakre 3y ago
Just was wondering if today anyone is still using them, so I guess that does not need to be asked.
All right, oh my captain, keep the indents and spacing tight on the monospace and sail along!
Btw., anyone still using monospaced fonts in their editors?
- lionkor 3y agoi program in wingdings
- teo_zero 3y ago> anyone still using monospaced fonts in their editors? The question is aren't you?
- vonseel 3y agoDoesn't everyone? I can't stand not using monospaced fonts when coding
- hakre 3y agoJust checking ... my current IDE ... not for all parts of the source-code any longer. I'm not so sure if I want that, maybe I get dumb by it?!
- xupybd 3y agoI tried coding in a variable font. It was horrible. I couldn't read the code. I was shocked at how much my brain made use of the spacing to parse code.
- lucumo 3y agoYes, same. It's weird in a way, because there isn't all that much alignment going on in my code[1]. There's indentation, but that still works with a proportional font. And yet, it still looks wrong and hard to read. I can't really figure out why. [1] I know some people align assignments in multiple lines, or comments at the end of the line, or similar things. I've been working under code style directives that prohibited those because lines changed more often because of whitespace than because of content. Since my work requires me not to do that, I don't have the habit at home either.
- marssaxman 3y agoCode really is not prose! We use so many skinny punctuation marks that have big structural significance, and variable-width fonts de-emphasize them. I want my commas and brackets made clear and obvious, please. I did actually spend a year or two coding in a variable-width font, back in the '90s, but I switched back after the novelty wore off.
- Zecc 3y agoI don't use ASCII-art often in source code, but when I do (or when I'm reading code from someone who has), I prefer if the characters align correctly.
- hakre 3y agoAnd then pixel-perfect bitmap fonts.
- loup-vaillant 3y ago> Btw., anyone still using monospaced fonts in their editors? Tell me you've never programmed without telling me you've never programmed… Almost all code editors and IDEs in current use are set with a monospaced font by default, and the overwhelming majority of programmers keep it that way.
- hakre 3y agoWhich brings us back to the point of ligatures which are combining so make a single of what is a double or triple and hence no monospace any longer. No judgement if that is good or bad or at all. Just a reminder that it ain't monospace any longer. > Your code is still monospaced in all the ways that matter. Just it ain't monospace any longer. (reminder)
- dylanowen 3y agoLigatures don't change the spacing. Those 2 monospaced characters still take up 2 spaces but are rendered as 1 glyph. Your code is still monospaced in all the ways that matter.
- MadcapJake 3y agoAll coding fonts that do this ensure that the ligatures still fit the same width as the characters that are being combined.
- Izkata 3y agoNope, the one a co-worker uses combines >= into the space of 1 character.
- xupybd 3y agoCan't it still be mono space if the ligatures take up the same space as their components?
- hakre 3y agoI think that is a stylistic decision to make it appear as if, but again, this ain't monospace any longer. In monospace one letter/symbol (printable character) has constant width. The ligature is one letter/symbol. so while the stylistic decision retains the monospace style of the replaced symbols, the ligature itself is double (or triple) sized compared with other symbols. IIRC this is commonly called "monospaced ligatures" ref https://github.com/tonsky/FiraCode/issues/712 https://github.com/tonsky/FiraCode/issues/712
- George83728 3y agoThe only people I've ever seen or heard of using proportional fonts for programming were utterly clueless freshmen newbs who mistook MS Word for a text editor...
- tnzk 3y agoFlash also come with a proportional font by default in the ActionScript editor if I remember correctly. I believe Adobe has changed its mind for other products with scripting support.
- f1shy 3y agoCaution: Stroustrup uses proportional fonts for snippets in the book
- aendruk 3y agoI use proportional Iosevka for most text editing, and just make exceptions per-language, e.g. for popular Ruby coding styles or Markdown tables.