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

Programmer Humor

22901 readers
642 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
[–] hakunawazo@lemmy.world 2 points 12 hours ago

Code of Sauron

[–] thezeesystem@lemmy.blahaj.zone 21 points 23 hours ago

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

[–] Ronno@feddit.nl 1 points 13 hours 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.

[–] LarmyOfLone@lemm.ee 2 points 20 hours ago (1 children)

Is there some language or "syntax formatter" that turns source code into something more off a visual programming language? Like a WYSIWYG markdown editor.

Like python doesn't have curly braces, but you could add some kind of "block illustration".

Or you could have illuminated initials for variable names to make them more unique.

[–] thevoidzero@lemmy.world 2 points 14 hours ago

So IDE with syntax highlights? Those blocks things are also pretty much shown in most IDE, what do you use to code?

I even have prettifying turned on so the keywords like in, lambda, etc are prettified.

[–] JackbyDev@programming.dev 2 points 1 day ago* (last edited 4 hours ago) (1 children)

I use Comic Code. It's not free, but it's so whimsical.

For the curious, here is a similar but free font. https://github.com/belluzj/fantasque-sans

[–] russjr08@bitforged.space 3 points 20 hours ago (1 children)

Oh hey, someone else who uses Comic Code - greetings!

I remember when I first saw it, I laughed - and then it grew on me. Then it turned into "I can't believe I am buying a derivation of comic sans" but it is actually a really nice monospaced font.

Only thing I didn't like was having to figure out how to use Font Patcher to make a copy of it that supports nerd fonts, but it was a one and done process.

(I also don't really like how it looks in my IDE the few times I find myself on Windows, but I don't really blame the font for that one - looks perfect in the same IDE on Linux...)

[–] JackbyDev@programming.dev 2 points 14 hours ago (1 children)
[–] russjr08@bitforged.space 1 points 7 hours ago

Patching Comic Code? It was quite a while ago unfortunately, so I don't have the exact commands available, but I used their Font Patcher tool in order to do so.

From what I recall, the tricky thing was actually getting the dependencies it required to be installed properly, Font Forge would be up and running but then the script's errors indicated that it couldn't resolve all of the necessary dependencies. Not sure what OS you're on so your mileage may vary - but for Linux they now have an AppImage that looks to contain everything it needs, and for macOS/Windows if you have Docker available there also appears to be a pre-built container for it. There's also quite a few examples that I don't think were there when I used it, since I also recall not being 100% sure of what flags were needed to run it

[–] MashedTech@lemmy.world 2 points 1 day ago

JetBrains Mono to the top!

[–] peto@lemm.ee 143 points 2 days 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.

[–] namingthingsiseasy@programming.dev 117 points 2 days 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.

[–] CosmicTurtle0@lemmy.dbzer0.com 42 points 2 days ago (1 children)
[–] tauren@lemm.ee 25 points 2 days ago* (last edited 2 days ago)

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

[–] MostlyBlindGamer@rblind.com 15 points 2 days ago (1 children)
[–] BuboScandiacus@mander.xyz 8 points 2 days ago (1 children)

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

[–] MostlyBlindGamer@rblind.com 2 points 1 day ago

Well, it’s not quite that bad, but it takes a special kind of person to send their very obviously visually impaired coworker screenshots instead of plaintext. And I know a few of them.

[–] cupcakezealot@lemmy.blahaj.zone 16 points 2 days ago (3 children)

all code is written down in physical loose leaf notebooks

load more comments (3 replies)
[–] the_crotch@sh.itjust.works 39 points 2 days ago (1 children)

You can if you paste it into a write protected pdf

[–] ulterno@programming.dev 11 points 2 days ago (1 children)

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

[–] chiliedogg@lemmy.world 1 points 1 day ago (1 children)

I wonder if this font would screw up ocr?

[–] ulterno@programming.dev 0 points 13 hours ago

Unless the OCR were made for this font, probably yes.

[–] idunnololz@lemmy.world 16 points 2 days ago

Yes. The "problem".

[–] pewpew@feddit.it 17 points 2 days ago (2 children)

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

load more comments (2 replies)
[–] calcopiritus@lemmy.world 12 points 2 days 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".

[–] boonhet@lemm.ee 10 points 2 days ago

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

[–] HolidayGreed@sh.itjust.works 6 points 1 day ago

Iosevka, a variant with slashed zero.

https://typeof.net/Iosevka/

[–] ZILtoid1991@lemmy.world 5 points 1 day ago

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

[–] Ascend910@lemmy.ml 3 points 1 day ago

I really em want to makenit a reality, do anyone here know a 17th century antique monosace font?

[–] conditional_soup@lemm.ee 27 points 2 days ago (21 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?

[–] Zink@programming.dev 4 points 20 hours ago* (last edited 20 hours ago)

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

[–] AnarchistArtificer@slrpnk.net 16 points 2 days 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)

[–] lagoon8622@sh.itjust.works 1 points 21 hours ago

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

[–] JackbyDev@programming.dev 2 points 1 day ago

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

load more comments (3 replies)
[–] fibojoly@sh.itjust.works 3 points 1 day ago

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!

[–] WaterSword@discuss.tchncs.de 20 points 2 days ago (1 children)
[–] baguettefish@discuss.tchncs.de 12 points 2 days ago (3 children)

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

[–] eugenevdebs@lemmy.dbzer0.com 1 points 21 hours ago

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.

[–] Gerudo@lemm.ee 8 points 2 days ago

Comic sans can help a lot of people with dyslexia.

load more comments (1 replies)
[–] SuperIce@lemmy.world 5 points 1 day ago

Fira Code is my go-to.

[–] Canadian_Cabinet@lemmy.ca 11 points 2 days ago* (last edited 2 days ago) (1 children)

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

load more comments (1 replies)
load more comments (15 replies)
[–] AgentOrangesicle@lemmy.world 2 points 1 day ago

SideShowBobUUUUGH.wav

[–] HalfSalesman@lemm.ee 9 points 2 days ago

std::string independence;

[–] wise_pancake@lemmy.ca 10 points 2 days ago

Putting the “no” in zapfino

load more comments
view more: next ›