9 points

reduce the flourishes and/or add more spacing between lines and it would be a lot more readable.

permalink
report
reply
139 points

See the problem with this is that even if I write code with this font, I can’t force people to read it in this font.

permalink
report
reply
12 points

Many editors can read config files from a file in the repository itself. And oftentimes it has the highest priority. Just gotta know the IDE of your target and they have to click “trust this project”.

permalink
report
parent
reply
10 points

Just add it for VSCode and Jetbrains and you cover like 75-95% of devs

permalink
report
parent
reply
36 points

You can if you paste it into a write protected pdf

permalink
report
parent
reply
11 points

The only real way to write protect it is by printing the pdf into pdf (making it a pdf of an image).

permalink
report
parent
reply
1 point

I wonder if this font would screw up ocr?

permalink
report
parent
reply
117 points

Of course you can. Instead of committing the code to a repository, you just take screenshots of the everything and commit that instead.

permalink
report
parent
reply
41 points

Settle down Satan.

permalink
report
parent
reply
25 points
*

And then you program a runtime that calls an AI to parse images and execute your code in real-time!

permalink
report
parent
reply
16 points

all code is written down in physical loose leaf notebooks

permalink
report
parent
reply
5 points

That way you don’t need Gimp to make edits. I like it, very human!

permalink
report
parent
reply

Hey that’s MY cursed python programming method… I wonder if I still have those books

permalink
report
parent
reply
15 points

Are you my coworkers?

permalink
report
parent
reply
8 points

You just said that somebody is in desperate need of a beating

permalink
report
parent
reply
1 point

And then submit patches

permalink
report
parent
reply
17 points

Pretty sure you can use the 𝓾𝓷𝓲𝓬𝓸𝓭𝓮 𝓬𝓱𝓪𝓻𝓪𝓬𝓽𝓮𝓻𝓼

permalink
report
parent
reply
3 points

And then maybe you could use something like #define in C to map them back to valid characters? Not sure if there’s a good way to do that in other higher level languages.

permalink
report
parent
reply
1 point

You could always write your own program that runs before the compiler. Simple character replace for those unicodes to ascii

permalink
report
parent
reply
16 points

Yes. The “problem”.

permalink
report
parent
reply
6 points

permalink
report
reply
32 points

In this case it’s because part of the joke is the quote tweet. You could also link to the tweet instead of a screenshot but then we need to connect to Musk’s servers at some point (even if through a proxy like nitter)

permalink
report
parent
reply
4 points
*

Yes, but he could’ve copy pasted the title.

You could’ve changed the main title to something like “programming the declaration of independence” or “programming like it’s 1750”

He mocks op. The gag is not the font anymore.

permalink
report
parent
reply
3 points

True but I think showing the quoted tweet is better than just in the title cause it is part of the joke in the image.

Title is normally used as a reaction or just simple text with some reference to the image

permalink
report
parent
reply
3 points
*

Cause I reposted stole it from some other internet page

I just usually download the image than a screenshot when posting

permalink
report
parent
reply
25 points

I… Somehow just realized that I can of course change my editor font. After three years in professional software dev.

Any recommendations for maximizing readability?

permalink
report
reply
11 points
*

I guess it depends on your preference but I love Fira Code

permalink
report
parent
reply
3 points

I use it as well

Is there any other font that has that variety of ligatures?

permalink
report
parent
reply
9 points

Try JetBrains Mono.

permalink
report
parent
reply
5 points

My favorite is “Inconsolata”

permalink
report
parent
reply

Me too! I don’t code but I really like it.

permalink
report
parent
reply
5 points

Big fan of jetbrains mono.

permalink
report
parent
reply
20 points
12 points

I unironically love comic sans derivatives, they’re just super readable to me

permalink
report
parent
reply
7 points

Comic sans is a great typeface in my opinion. Just often misused.

permalink
report
parent
reply
8 points

Comic sans can help a lot of people with dyslexia.

permalink
report
parent
reply

Comic sans was invented for legibility on CRT screens, and its considered good for younger people to learn the iconography of various Latin characters.

Its just misused since it was standard in Windows and Apple’s OS X, and used in situations that aren’t meant for such a typeface. It’s perfectly good for what it was invented for, its just often incorrectly used by designers who don’t really know how to design well.

permalink
report
parent
reply
1 point

I just use IBM Plex, but that’s mostly because the keycaps my keyboard came with used it :) I also think it’s just fine for readability (i.e. I/l and O/0 are different enough)

permalink
report
parent
reply
2 points
permalink
report
parent
reply
6 points
*

Verdana.

The I/l and O/o/0, 0/8/ø are all distinct, so are all the different kinds of brackets. Also, this isn’t a monospace font, so wide letters such as m and w are wide, instead of being squashed into an unreadable barcode.

Letters aren’t meant to be monospace, and sans TUI nothing in computers still needs to be.

If you do need one, ex. for TUI, I second JetBrains Mono!

Also, Verdana is not a libre font, Noto Sans is a libre font that also has these properties, although code does look much better in Verdana to me.

permalink
report
parent
reply
10 points

Also, this isn’t a monospace font

Oh no.

permalink
report
parent
reply
7 points

You wouldn’t want mono space in languages where indentation matters?

permalink
report
parent
reply
1 point

Nope, indentation is still the same.

For example eight spaces are going to be twice as big as four spaces in just about any font, and Verdana still accodomodates well to this with its wide spaces.

permalink
report
parent
reply
2 points
*

i always use the classic 6x13 or 8x16 font

permalink
report
parent
reply
4 points

I’ve really enjoyed Monaspace as well as using Inter for my interfaces. Maybe you will too? :)

permalink
report
parent
reply
16 points

https://www.codingfont.com/ is a fun, tournament style quiz that compares different monospace fonts. It’s far from comprehensive, but I found it useful to gauge what font features I find stylish and readable

(For the record, my go-to font is Jetbrains Mono)

permalink
report
parent
reply
4 points

That was fun. Apparently I’m a JetBrains Mono user. Of course it might be simply what I’m used to, because I’m a long time IntelliJ user. It wouldn’t surprise me if this is already my font.

permalink
report
parent
reply

Thanks, I got inconsolata. I’m not a coder but I’m going to use it for other things.

permalink
report
parent
reply
2 points

My go-to has been Fira Code for some time. Just did the test, and Fira Code was the winner. Jetbrains Mono was a close second for me though.

permalink
report
parent
reply
2 points

I got Fira Code, which tracks, I’ve used it before. I use Comic Code though. (A monospace comic sans type font.)

permalink
report
parent
reply
1 point

Lol I got Fira Code which is what I actually use. Awesome tool

permalink
report
parent
reply
5 points

I’m a big fan of GoHuFont

permalink
report
parent
reply
3 points

It’s a bit vanilla but I like DejaVu Sans Mono 8pt in my terminal, which is where I edit scripts and things

Curiously, I don’t think that looks quite as good at larger sizes, so I’ve been using Liberation Mono 9pt or 10pt elsewhere.

Both of those have distinct glyphs for the usual easily confused candidates. Can’t be having my lowercase L’s and 1s looking similar.

permalink
report
parent
reply
5 points

Fira Code is my go-to.

permalink
report
parent
reply
3 points

Look up a good article on coding fonts and pick your camp! At the moment I have DejaVu installed but I’m not a purist. As long as it’s properly designed for this I’m happy. Ligatures are particularly nifty in some languages but no big deal. I recall one author picking a font so that the italics would be cursive rather than monospace, so that his comments would look like handwritten notes in the margin, but I never got a chance to try it myself. Looked great though!

permalink
report
parent
reply
4 points
*

I picked up a great little test along the way: type the word ill or illegal followed by 100, using a capital I in illegal and mixing an upper case O and a zero in the number.

Ill10O

Can you clearly tell all these characters apart in your editor font?

I am all about Fira Code, myself

permalink
report
parent
reply
9 points

Putting the “no” in zapfino

permalink
report
reply

Programmer Humor

!programmer_humor@programming.dev

Create post

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

  • Keep content in english
  • No advertisements
  • Posts must be related to programming or programmer topics

Community stats

  • 9K

    Monthly active users

  • 1.2K

    Posts

  • 25K

    Comments