• conditional_soup@lemm.ee
    link
    fedilink
    arrow-up
    0
    ·
    5 days 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?

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

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

    • palordrolap@fedia.io
      link
      fedilink
      arrow-up
      0
      ·
      4 days 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.

    • AnarchistArtificer@slrpnk.net
      link
      fedilink
      English
      arrow-up
      0
      ·
      5 days 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)

      • JackbyDev@programming.dev
        link
        fedilink
        English
        arrow-up
        0
        ·
        3 days ago

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

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

      • mcv@lemm.ee
        link
        fedilink
        English
        arrow-up
        0
        ·
        4 days 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.

    • Fonzie!@ttrpg.network
      link
      fedilink
      arrow-up
      0
      ·
      edit-2
      5 days 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.