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

Programmer Humor

22921 readers
99 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

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

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

Code of Sauron

[–] peto@lemm.ee 138 points 3 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 116 points 3 days ago (4 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 41 points 3 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 2 days 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)
load more comments (1 replies)
[–] the_crotch@sh.itjust.works 36 points 3 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 1 day 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 3 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 3 days ago

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

[–] Ronno@feddit.nl 1 points 1 day 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 1 day 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 1 day ago (1 children)

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.

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

No somthing more than just "mere" syntax highlightinng or prettifying like e.g. in VS Code. Being able to change line height for a "headline" when you declare a new class. Or maybe lines that illustrate how a temp variable is used. But it's all vague ideas and I can't picture or describe it well and you'd have to demo this with a graphical design tool I think.

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

I use emacs, and it can change font size and font face similar to the font color during syntax highlights. Like in markdown or LaTeX headings are larger font, math formula have their system where superscript and subscript have higher/lower baseline. In org mode it can even convert the whole latex snippet into formula and display as image, or show inline images. And in rust it has type hints and other information overlayed along side the code you wrote, it even adds little buttons on tests you can click to run them.

So I think what you want can probably be made easily if you have a solid grasp of what you want. Emacs is basically extensible using a programming language (elisp) so technically there's nothing you can't do logic wise, there might be some limitations on displaying things though.

[–] HolidayGreed@sh.itjust.works 6 points 2 days ago

Iosevka, a variant with slashed zero.

https://typeof.net/Iosevka/

[–] JackbyDev@programming.dev 2 points 1 day ago* (last edited 22 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 1 day 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 1 day ago (1 children)
[–] russjr08@bitforged.space 1 points 1 day 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!

[–] ZILtoid1991@lemmy.world 5 points 2 days ago

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

[–] conditional_soup@lemm.ee 25 points 3 days ago (20 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 1 day ago* (last edited 1 day 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)

[–] 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.)

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

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

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

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

[–] eugenevdebs@lemmy.dbzer0.com 1 points 1 day 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)
[–] fibojoly@sh.itjust.works 3 points 2 days 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!

[–] SuperIce@lemmy.world 5 points 2 days ago

Fira Code is my go-to.

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

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

load more comments (1 replies)
load more comments (14 replies)
[–] Ascend910@lemmy.ml 3 points 2 days ago

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

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

std::string independence;

load more comments
view more: next ›