this post was submitted on 29 Apr 2025
911 points (98.8% liked)

Programmer Humor

23082 readers
1779 users here now

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

founded 2 years ago
MODERATORS
 
top 50 comments
sorted by: hot top controversial new old
[–] [email protected] 2 points 5 days ago

Fixed Fixedsys for life!!!!

[–] [email protected] 2 points 6 days ago

Code of Sauron

[–] [email protected] 1 points 6 days ago

Better start now, the US might need a new one soon. /s

A smart contract as the declaration of independence would be awesome though.

[–] [email protected] 147 points 1 week ago (5 children)

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.

[–] [email protected] 123 points 1 week ago (3 children)

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

[–] [email protected] 43 points 1 week ago (1 children)
[–] [email protected] 27 points 1 week ago* (last edited 1 week ago) (1 children)

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

[–] [email protected] 2 points 4 days ago (1 children)
[–] [email protected] 1 points 2 days ago* (last edited 2 days ago)

Did they use sane or Windows-style newlines? Windows-style line endings are not supported everywhere.

Edit:
Variable-width handwriting is no longer considered a best practice and has been deprecated for some time. If the program did not compile with sane line endings, try rewriting the program in monospace, as support for legacy handwriting styles may have been dropped from non-LTS compiler releases.

[–] [email protected] 16 points 1 week ago (2 children)

all code is written down in physical loose leaf notebooks

[–] [email protected] 6 points 1 week ago (1 children)

Hey that's MY cursed python programming method... I wonder if I still have those books

load more comments (1 replies)
[–] [email protected] 5 points 1 week ago

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

[–] [email protected] 15 points 1 week ago (1 children)
[–] [email protected] 8 points 1 week ago (1 children)

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

load more comments (1 replies)
[–] [email protected] 39 points 1 week ago (1 children)

You can if you paste it into a write protected pdf

[–] [email protected] 11 points 1 week ago (2 children)

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

load more comments (2 replies)
[–] [email protected] 17 points 1 week ago (2 children)

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

load more comments (2 replies)
[–] [email protected] 16 points 1 week ago

Yes. The "problem".

[–] [email protected] 12 points 1 week ago (1 children)

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".

[–] [email protected] 10 points 1 week ago

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

[–] [email protected] 28 points 1 week ago (17 children)

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?

[–] [email protected] 20 points 1 week ago (1 children)
[–] [email protected] 12 points 1 week ago (3 children)

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

[–] [email protected] 8 points 1 week ago

Comic sans can help a lot of people with dyslexia.

[–] [email protected] 7 points 1 week ago

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

load more comments (1 replies)
[–] [email protected] 17 points 1 week ago (5 children)

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)

load more comments (5 replies)
[–] [email protected] 11 points 1 week ago* (last edited 1 week ago) (1 children)

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

load more comments (1 replies)
[–] [email protected] 9 points 1 week ago

Try JetBrains Mono.

[–] [email protected] 6 points 1 week ago* (last edited 1 week ago) (2 children)

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.

[–] [email protected] 10 points 1 week ago

Also, this isn't a monospace font

Oh no.

[–] [email protected] 7 points 1 week ago (1 children)

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

load more comments (1 replies)
[–] [email protected] 5 points 1 week ago

Fira Code is my go-to.

[–] [email protected] 5 points 1 week ago

I'm a big fan of GoHuFont

[–] [email protected] 5 points 1 week ago (1 children)

My favorite is "Inconsolata"

load more comments (1 replies)
load more comments (9 replies)
[–] [email protected] 24 points 1 week ago

This is great if you don't want the united states politicians to read it.

[–] [email protected] 10 points 1 week ago

Putting the “no” in zapfino

[–] [email protected] 10 points 1 week ago

std::string independence;

[–] [email protected] 9 points 1 week ago

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

[–] [email protected] 7 points 1 week ago (2 children)
[–] [email protected] 33 points 1 week ago (5 children)

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)

load more comments (5 replies)
load more comments (1 replies)
[–] [email protected] 6 points 1 week ago

Iosevka, a variant with slashed zero.

https://typeof.net/Iosevka/

[–] [email protected] 5 points 1 week ago (3 children)

comic shanns ms for all code editing

load more comments (3 replies)
[–] [email protected] 5 points 1 week ago

IBM Mono Plex >>> all other, especially this horrible mess

load more comments
view more: next ›