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

Programmer Humor

22950 readers
435 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
 
you are viewing a single comment's thread
view the rest of the comments
[–] LarmyOfLone@lemm.ee 2 points 2 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 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 12 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 11 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.