• conditional_soup@lemm.ee
    link
    fedilink
    arrow-up
    24
    ·
    3 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
      16
      ·
      3 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)

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

      • JackbyDev@programming.dev
        link
        fedilink
        English
        arrow-up
        2
        ·
        3 months 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
        2
        ·
        3 months 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.

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

    • balsoft@lemmy.ml
      link
      fedilink
      arrow-up
      1
      ·
      3 months ago

      I just use IBM Plex, but that’s mostly because the keycaps my keyboard came with used it :) I also think it’s just fine for readability (i.e. I/l and O/0 are different enough)