Tespia
  • Communities
  • Create Post
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
Zenoctate@lemmy.world to Programmer Humor@programming.dev · 1 year ago

Modern Font Requirements

lemmy.world

message-square
81
link
fedilink
8

Modern Font Requirements

lemmy.world

Zenoctate@lemmy.world to Programmer Humor@programming.dev · 1 year ago
message-square
81
link
fedilink
alert-triangle
You must log in or register to comment.
  • Kojichan@lemmy.world
    link
    fedilink
    arrow-up
    1
    ·
    1 year ago

    Fixed Fixedsys for life!!!

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

  • peto (he/him)@lemm.ee
    link
    fedilink
    English
    arrow-up
    1
    ·
    1 year 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.

    • namingthingsiseasy@programming.dev
      link
      fedilink
      arrow-up
      2
      ·
      1 year ago

      Of course you can. Instead of committing the code to a repository, you just take screenshots of the everything and commit that instead.

      • CosmicTurtle0 [he/him]@lemmy.dbzer0.com
        link
        fedilink
        English
        arrow-up
        1
        ·
        1 year ago

        Settle down Satan.

        • tauren@lemm.ee
          link
          fedilink
          English
          arrow-up
          1
          ·
          edit-2
          1 year ago

          And then you program a runtime that calls an AI to parse images and execute your code in real-time!

          • mormegil@programming.dev
            link
            fedilink
            arrow-up
            0
            ·
            1 year ago

            Related: https://stackoverflow.com/questions/5508110/why-is-this-program-erroneously-rejected-by-three-c-compilers

      • katy ✨@lemmy.blahaj.zone
        link
        fedilink
        arrow-up
        0
        ·
        1 year ago

        all code is written down in physical loose leaf notebooks

        • IngeniousRocks (They/She) @lemmy.dbzer0.com
          link
          fedilink
          arrow-up
          0
          ·
          1 year ago

          Hey that’s MY cursed python programming method… I wonder if I still have those books

          • Russ@bitforged.space
            link
            fedilink
            English
            arrow-up
            0
            ·
            1 year ago

            Oh, so that’s what those Python notebooks are that I’ve heard people talk about!

        • dream_weasel@sh.itjust.works
          link
          fedilink
          arrow-up
          0
          ·
          1 year ago

          That way you don’t need Gimp to make edits. I like it, very human!

      • MostlyBlindGamer@rblind.com
        link
        fedilink
        English
        arrow-up
        0
        ·
        1 year ago

        Are you my coworkers?

        • Owl@mander.xyz
          link
          fedilink
          arrow-up
          0
          ·
          1 year ago

          You just said that somebody is in desperate need of a beating

          • MostlyBlindGamer@rblind.com
            link
            fedilink
            English
            arrow-up
            0
            ·
            1 year 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.

    • idunnololz@lemmy.world
      link
      fedilink
      arrow-up
      0
      ·
      1 year ago

      Yes. The “problem”.

    • the_crotch@sh.itjust.works
      link
      fedilink
      arrow-up
      0
      ·
      1 year ago

      You can if you paste it into a write protected pdf

      • ulterno@programming.dev
        link
        fedilink
        English
        arrow-up
        0
        ·
        1 year ago

        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
          link
          fedilink
          arrow-up
          0
          ·
          1 year ago

          I wonder if this font would screw up ocr?

          • ulterno@programming.dev
            link
            fedilink
            English
            arrow-up
            0
            ·
            1 year ago

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

    • calcopiritus@lemmy.world
      link
      fedilink
      arrow-up
      0
      ·
      1 year ago

      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
        link
        fedilink
        arrow-up
        0
        ·
        1 year ago

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

    • pewpew@feddit.it
      link
      fedilink
      arrow-up
      0
      ·
      1 year ago

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

      • jaybone@lemmy.zip
        link
        fedilink
        English
        arrow-up
        0
        ·
        1 year ago

        And then maybe you could use something like #define in C to map them back to valid characters? Not sure if there’s a good way to do that in other higher level languages.

  • hakunawazo@lemmy.world
    link
    fedilink
    arrow-up
    1
    ·
    1 year ago

    Code of Sauron

  • conditional_soup@lemm.ee
    link
    fedilink
    arrow-up
    0
    ·
    1 year 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
      0
      ·
      1 year 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)

      • SuperIce@lemmy.world
        link
        fedilink
        English
        arrow-up
        0
        ·
        1 year 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.

      • JackbyDev@programming.dev
        link
        fedilink
        English
        arrow-up
        0
        ·
        1 year ago

        I got Fira Code, which tracks, I’ve used it before. I use Comic Code though. (A monospace comic sans type font.)

      • ᴍᴜᴛɪʟᴀᴛɪᴏɴᴡᴀᴠᴇ @lemmy.dbzer0.com
        link
        fedilink
        English
        arrow-up
        0
        ·
        1 year ago

        Thanks, I got inconsolata. I’m not a coder but I’m going to use it for other things.

      • mcv@lemm.ee
        link
        fedilink
        English
        arrow-up
        0
        ·
        1 year ago

        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.

    • vortexsurfer@lemmy.world
      link
      fedilink
      arrow-up
      0
      ·
      1 year ago

      I’m a big fan of GoHuFont

    • MonkeMischief@lemmy.today
      link
      fedilink
      arrow-up
      0
      ·
      1 year ago

      I’ve really enjoyed Monaspace as well as using Inter for my interfaces. Maybe you will too? :)

    • palordrolap@fedia.io
      link
      fedilink
      arrow-up
      0
      ·
      1 year ago

      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.

    • hexagonwin@lemmy.sdf.org
      link
      fedilink
      arrow-up
      0
      ·
      edit-2
      1 year ago

      i always use the classic 6x13 or 8x16 font

    • SuperIce@lemmy.world
      link
      fedilink
      English
      arrow-up
      0
      ·
      1 year ago

      Fira Code is my go-to.

    • sudo_halt@lemmygrad.ml
      link
      fedilink
      arrow-up
      0
      ·
      1 year ago

      Iosevka, IBM Plex, Fira Code, Space Mono, JetBrains Mono

    • fibojoly@sh.itjust.works
      link
      fedilink
      arrow-up
      0
      ·
      1 year 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!

    • Sleepless One@lemmy.ml
      link
      fedilink
      English
      arrow-up
      0
      ·
      1 year ago

      Hermit

    • The Ramen Dutchman@ttrpg.network
      link
      fedilink
      arrow-up
      0
      ·
      edit-2
      1 year ago

      Verdana.

      The I/l and O/o/0, 0/8/ø are all distinct, so are all the different kinds of brackets. Also, this isn’t a monospace font, so wide letters such as m and w are wide, instead of being squashed into an unreadable barcode.

      Letters aren’t meant to be monospace, and sans TUI nothing in computers still needs to be.

      If you do need one, ex. for TUI, I second JetBrains Mono!

      Also, Verdana is not a libre font, Noto Sans is a libre font that also has these properties, although code does look much better in Verdana to me.

      • jaybone@lemmy.zip
        link
        fedilink
        English
        arrow-up
        0
        ·
        1 year ago

        You wouldn’t want mono space in languages where indentation matters?

      • ripcord@lemmy.world
        link
        fedilink
        arrow-up
        0
        ·
        1 year ago

        Also, this isn’t a monospace font

        Oh no.

    • Zink@programming.dev
      link
      fedilink
      arrow-up
      0
      ·
      edit-2
      1 year 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

    • WaterSword@discuss.tchncs.de
      link
      fedilink
      arrow-up
      0
      ·
      1 year ago

      Comic mono

      • baguettefish@discuss.tchncs.de
        link
        fedilink
        English
        arrow-up
        0
        ·
        1 year ago

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

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

        • WaterSword@discuss.tchncs.de
          link
          fedilink
          arrow-up
          0
          ·
          1 year ago

          Comic sans is a great typeface in my opinion. Just often misused.

        • Gerudo@lemm.ee
          link
          fedilink
          arrow-up
          0
          ·
          1 year ago

          Comic sans can help a lot of people with dyslexia.

    • lemmeBe@sh.itjust.worksB
      link
      fedilink
      arrow-up
      0
      ·
      1 year ago

      Try JetBrains Mono.

    • blaue_Fledermaus@mstdn.io
      link
      fedilink
      arrow-up
      0
      ·
      1 year ago

      My favorite is “Inconsolata”

    • irelephant [he/him]🍭@lemm.ee
      link
      fedilink
      arrow-up
      0
      ·
      1 year ago

      Big fan of jetbrains mono.

    • Canadian_Cabinet @lemmy.ca
      link
      fedilink
      arrow-up
      0
      ·
      edit-2
      1 year ago

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

      • enemenemu@lemm.ee
        link
        fedilink
        arrow-up
        0
        ·
        1 year ago

        I use it as well

        Is there any other font that has that variety of ligatures?

  • HalfSalesman@lemm.ee
    link
    fedilink
    English
    arrow-up
    0
    ·
    1 year ago

    std::string independence;

  • MashedTech@lemmy.world
    link
    fedilink
    arrow-up
    0
    ·
    1 year ago

    JetBrains Mono to the top!

  • wise_pancake@lemmy.ca
    link
    fedilink
    arrow-up
    0
    ·
    1 year ago

    Putting the “no” in zapfino

  • katy ✨@lemmy.blahaj.zone
    link
    fedilink
    arrow-up
    0
    ·
    1 year ago

    comic shanns ms for all code editing

    • ripcord@lemmy.world
      link
      fedilink
      arrow-up
      0
      ·
      1 year ago

      shanns

      I’m just wondering how this happened

      • katy ✨@lemmy.blahaj.zone
        link
        fedilink
        arrow-up
        0
        ·
        1 year ago

        https://github.com/shannpersand/comic-shanns

  • tiredofsametab@fedia.io
    link
    fedilink
    arrow-up
    0
    ·
    1 year ago

    reduce the flourishes and/or add more spacing between lines and it would be a lot more readable.

  • refalo@programming.dev
    link
    fedilink
    arrow-up
    0
    ·
    1 year ago

    https://0x0.st/XDh2.png

  • LarmyOfLone@lemm.ee
    link
    fedilink
    arrow-up
    0
    ·
    1 year 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
      ·
      1 year 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
        ·
        1 year 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
          0
          ·
          1 year 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
    link
    fedilink
    English
    arrow-up
    0
    ·
    1 year ago

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

  • thezeesystem@lemmy.blahaj.zone
    link
    fedilink
    English
    arrow-up
    0
    ·
    1 year ago

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

  • ZILtoid1991@lemmy.world
    link
    fedilink
    arrow-up
    0
    ·
    1 year ago

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

Programmer Humor@programming.dev

programmer_humor@programming.dev

Subscribe from Remote Instance

Create a post
You are not logged in. However you can subscribe from another Fediverse account, for example Lemmy or Mastodon. To do this, paste the following into the search field of your instance: !programmer_humor@programming.dev

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
Visibility: Public
globe

This community can be federated to other instances and be posted/commented in by their users.

  • 489 users / day
  • 4.3K users / week
  • 7.75K users / month
  • 18K users / 6 months
  • 1 local subscriber
  • 31.2K subscribers
  • 1.65K Posts
  • 42.3K Comments
  • Modlog
  • mods:
  • adr1an@programming.dev
  • Feyter@programming.dev
  • BurningTurtle@programming.dev
  • Pierre-Yves Lapersonne@programming.dev
  • BE: 0.19.11
  • Modlog
  • Instances
  • Docs
  • Code
  • join-lemmy.org