This is great if you don't want the united states politicians to read it.
Programmer Humor
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
Fixed Fixedsys for life!!!!
IBM Mono Plex >>> all other, especially this horrible mess
Code of Sauron
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.
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.
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.
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.
I really em want to makenit a reality, do anyone here know a 17th century antique monosace font?
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
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...)
How'd you do it?
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
JetBrains Mono to the top!
Better start now, the US might need a new one soon. /s
A smart contract as the declaration of independence would be awesome though.
SideShowBobUUUUGH.wav
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.
Yes. The "problem".
Of course you can. Instead of committing the code to a repository, you just take screenshots of the everything and commit that instead.
Are you my coworkers?
You just said that somebody is in desperate need of a beating
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.
Settle down Satan.
And then you program a runtime that calls an AI to parse images and execute your code in real-time!
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.
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?
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
Fira Code is my go-to.
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!
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.
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)
I got Fira Code, which tracks, I've used it before. I use Comic Code though. (A monospace comic sans type font.)
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.
Lol I got Fira Code which is what I actually use. Awesome tool
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.
Thanks, I got inconsolata. I'm not a coder but I'm going to use it for other things.