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

Programmer Humor

23040 readers
1775 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
[–] thezeesystem@lemmy.blahaj.zone 24 points 6 days ago

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

[–] Kojichan@lemmy.world 2 points 4 days ago

Fixed Fixedsys for life!!!!

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

Iosevka, a variant with slashed zero.

https://typeof.net/Iosevka/

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

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

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

Code of Sauron

[–] LarmyOfLone@lemm.ee 2 points 6 days 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 5 days 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 4 days 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 2 points 4 days 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.

[–] Ascend910@lemmy.ml 3 points 6 days ago

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

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

JetBrains Mono to the top!

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

[–] AgentOrangesicle@lemmy.world 2 points 6 days ago

SideShowBobUUUUGH.wav

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

[–] namingthingsiseasy@programming.dev 121 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.

[–] CosmicTurtle0@lemmy.dbzer0.com 43 points 1 week ago (1 children)
[–] tauren@lemm.ee 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!

[–] mormegil@programming.dev 2 points 3 days ago (1 children)
[–] ferric_carcinization@lemmy.ml 1 points 1 day ago* (last edited 1 day 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.

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

all code is written down in physical loose leaf notebooks

load more comments (3 replies)
[–] MostlyBlindGamer@rblind.com 15 points 1 week ago (2 children)
load more comments (2 replies)
[–] the_crotch@sh.itjust.works 36 points 1 week ago (1 children)

You can if you paste it into a write protected pdf

[–] ulterno@programming.dev 11 points 1 week 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 6 days ago (1 children)

I wonder if this font would screw up ocr?

[–] ulterno@programming.dev 0 points 5 days ago

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

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

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

load more comments (2 replies)
[–] idunnololz@lemmy.world 16 points 1 week ago

Yes. The "problem".

[–] calcopiritus@lemmy.world 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".

[–] boonhet@lemm.ee 10 points 1 week ago

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

[–] conditional_soup@lemm.ee 26 points 1 week 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 6 days ago* (last edited 6 days 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

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

Fira Code is my go-to.

[–] fibojoly@sh.itjust.works 3 points 6 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!

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

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

[–] eugenevdebs@lemmy.dbzer0.com 1 points 6 days 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.

load more comments (2 replies)
[–] AnarchistArtificer@slrpnk.net 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)

[–] JackbyDev@programming.dev 2 points 6 days 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 6 days ago

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

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

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.

load more comments (2 replies)
[–] Canadian_Cabinet@lemmy.ca 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)
load more comments (14 replies)
load more comments
view more: next ›