• peto (he/him)@lemm.ee
    link
    fedilink
    English
    arrow-up
    3
    ·
    2 months ago

    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.

  • Ronno@feddit.nl
    link
    fedilink
    English
    arrow-up
    1
    ·
    2 months 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.

  • conditional_soup@lemm.ee
    link
    fedilink
    arrow-up
    1
    ·
    2 months ago

    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?

    • AnarchistArtificer@slrpnk.net
      link
      fedilink
      English
      arrow-up
      1
      ·
      2 months ago

      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)

        • Eugene V. Debs' Ghost@lemmy.dbzer0.com
          link
          fedilink
          English
          arrow-up
          1
          ·
          2 months 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.

  • LarmyOfLone@lemm.ee
    link
    fedilink
    arrow-up
    0
    ·
    2 months ago

    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
      link
      fedilink
      arrow-up
      0
      ·
      2 months 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.

      • LarmyOfLone@lemm.ee
        link
        fedilink
        arrow-up
        0
        ·
        2 months ago

        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
          link
          fedilink
          arrow-up
          1
          ·
          2 months 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.