News for hackers. Stuff that matters.
Re:MonoLisa – A font designed for developers by xgme on Monday February 14, 2022 @02:57PM (#30337402)
Isn't "increased width" an ungodly sin to the developer lord? If anything, we want to see more in a given space, not less...
Re:MonoLisa – A font designed for developers by chrisseaton on Monday February 14, 2022 @02:59PM (#30337428)
> Isn't "increased width" an ungodly sin to the developer lord? If anything we want to see more in a given space, not less...

I think it increases readability. I need to read what I'm looking at, not a lot of things I'm not looking at.

Re:MonoLisa – A font designed for developers by xgme on Monday February 14, 2022 @03:07PM (#30337556)
Not if a part of a line is out of the window right? This makes splitting harder, therefore, reading harder
Re:MonoLisa – A font designed for developers by CRConrad on Monday February 14, 2022 @04:47PM (#30338841)
Then make your window wider. Bam, problem solved.

"But then I can't see as many windows!" That brings us back to the GP's I need to see what I'm looking at, not what I'm not looking at". When you want to look at those other windows, bring them to the foreground and let them obscure this one.

Re:MonoLisa – A font designed for developers by chrisseaton on Monday February 14, 2022 @03:15PM (#30337642)
Seems niche?

I don't think that's enough of a reason to say the design choice is a sin for everyone.

Re:MonoLisa – A font designed for developers by xgme on Monday February 14, 2022 @03:23PM (#30337750)
Line length linters are kinda standard. The goal is to have "shorter lines".
Re:MonoLisa – A font designed for developers by askonomm on Tuesday February 15, 2022 @08:33AM (#30346136)
Line length doesn't change just because the font itself is wider.
Re:MonoLisa – A font designed for developers by premun on Friday February 18, 2022 @03:56AM (#30383543)
Seems like the same amount of characters that are each wider would be wider? So you would see less characters on a line with the same amount of characters
Re:MonoLisa – A font designed for developers by askonomm on Monday February 21, 2022 @05:11AM (#30413939)
Well yes and no. The line would visually become longer, but if we're talking enforced line length by IDE's, say 80 characters, then the line would still be 80 characters long, but just take up visually more horizontal space and so whether or not you see the same amount of characters on a line would become an issue of how much horizontal screen space do you afford for code.
Re:MonoLisa – A font designed for developers by sidpatil on Monday February 14, 2022 @03:10PM (#30337584)
Why not just use word wrapping?
Re:MonoLisa – A font designed for developers by cortesoft on Monday February 14, 2022 @03:53PM (#30338154)
I find reading code with word wrapping nearly impossible.
Re:MonoLisa – A font designed for developers by xgme on Monday February 14, 2022 @03:16PM (#30337660)
I'm already going with 80 or 120 chars per line. Why would I word wrap well written code?

Also word wrappings will lose all the preceding tabs. It makes it 100x harder to read.

The issue is I will have less split space.

Re:MonoLisa – A font designed for developers by sidpatil on Tuesday February 15, 2022 @11:15AM (#30348425)
> Also word wrappings will lose all the preceding tabs. It makes it 100x harder to read.

This depends on your editor. I know VS Code supports indentation/alignment of wrapped words. I believe Emacs and Vim support it as well.

Re:MonoLisa – A font designed for developers by bartvk on Monday February 14, 2022 @03:23PM (#30337759)
That's how I think about it too. I use Anka/Coder Narrow. It takes some getting used to, but may enable using an additional editor window at certain monitor sizes.

Another commenter replied that all editors have word wrap, but the resulting code doesn't look great, IMHO. I prefer full control.

https://fontlibrary.org/en/font/anka-coder-narrow

Re:MonoLisa – A font designed for developers by qbasic_forever on Monday February 14, 2022 @03:52PM (#30338142)
For terminal/console use wide fonts hurt IMHO. I really like Iosevka, it even has a terminal optimized version that's explicitly less wide: https://typeof.net/Iosevka/
Re:MonoLisa – A font designed for developers by zorked on Monday February 14, 2022 @03:26PM (#30337804)
Considering we have 80-column conventions and widescreen monitors... no?
Re:MonoLisa – A font designed for developers by the_mitsuhiko on Monday February 14, 2022 @03:06PM (#30337534)
Wider fonts are significantly easier to read than narrow fonts which is the main point a programmer typically optimizes for. Since most editors can reflow anyways and programmers are relatively conservatives for max width anyways my general experience is that I have more than enough space on the right unused.
Re:MonoLisa – A font designed for developers by huhtenberg on Monday February 14, 2022 @03:12PM (#30337609)
This assumes that the code you are writing will actually be read by someone later on. A bold assumption to make.
Re:MonoLisa – A font designed for developers by the_mitsuhiko on Monday February 14, 2022 @03:29PM (#30337832)
It's not about posterity but reading back what you just wrote a minute ago. That's not a very bold assumption.
Re:MonoLisa – A font designed for developers by kuratkull on Monday February 14, 2022 @03:48PM (#30338087)
It's strange, I find the complete opposite to be true. A narrower font allows my brain to grasp the line quicker, without having to move my eyes as much.
Re:MonoLisa – A font designed for developers by the_mitsuhiko on Monday February 14, 2022 @03:56PM (#30338211)
I would be shocked if this was not up to personal preference :)
Re:MonoLisa – A font designed for developers by fictorial on Monday February 14, 2022 @05:21PM (#30339199)
Stay away from Vulf Mono then!