• atzanteol@sh.itjust.works
    link
    fedilink
    English
    arrow-up
    18
    arrow-down
    1
    ·
    edit-2
    1 month ago

    I’m not terribly picky, mostly just want to distinguish 0 from O and l from 1.

    I rather like JetBrains mono though.

    • Colloidal@programming.dev
      link
      fedilink
      arrow-up
      1
      ·
      1 month ago

      And l from I from | from 1. Stuff like that. And be pretty. And somewhat retro futuristic, without sacrificing readability.

    • Kissaki@programming.dev
      link
      fedilink
      English
      arrow-up
      4
      ·
      1 month ago

      Connected strokes in italic style, vivify your code.

      That’s cool and interesting (you can see it in action and toggle-compare on the linked website)

      I wonder how distracting it would be in code, though. If it is, their configurability allows skipping that feature though, which is great.

      • vogi@piefed.social
        link
        fedilink
        English
        arrow-up
        2
        ·
        1 month ago

        Yea, as its only applied to italics its less distracting than it might seem at first. Your IDE may not even use italics. In VSCode with my theme, italics are used for comments and variable names, which looks like this: WLNTqLUp8P2AC1W.png

        • hallettj@leminal.space
          link
          fedilink
          English
          arrow-up
          4
          ·
          edit-2
          1 month ago

          I like to use this style of italics for keywords. (That’s also what the Maple examples do.) My thinking is you see keywords so often that you recognize them by shape, not by reading the individual letters. And my theory is that the italic variant being a little harder to read helps my eyes skim over keywords, to focus more on words that I do need to read precisely, like variable names.

          It does mean that I spend some time customizing my syntax highlighting theme to make it work the way I prefer. I’ve got examples set up on my blog. Although that’s not Maple - it’s a different font with cursive italics called Cartograph CF.

        • thingsiplay@lemmy.ml
          link
          fedilink
          arrow-up
          1
          ·
          1 month ago

          I don’t like that one and the same character looks different on the same line (here console.log).

    • 404@lemmy.zip
      link
      fedilink
      English
      arrow-up
      3
      ·
      1 month ago

      Yes! I built my own variant using their tool (removing the weird italic l etc). I love it.

  • spacemanspiffy@lemmy.world
    link
    fedilink
    English
    arrow-up
    11
    ·
    1 month ago

    No ligatures, and no ambiguity between O and 0, l and 1 and I, etc.

    No serifs too, I guess. Although I don’t think that’s very common in coding fonts.

  • deathmetal27@lemmy.world
    link
    fedilink
    arrow-up
    7
    ·
    edit-2
    1 month ago

    I use Fira Code for coding, mostly because of the ligatures. For console I use Inconsolata because it’s compact and good for long console lines.

  • mbirth 🇬🇧@lemmy.ml
    link
    fedilink
    English
    arrow-up
    7
    ·
    1 month ago

    Ligatures, slashed zeros, clearly distinguishable Il1/O0, not too big of a gap between lines, and maybe script-like italics. My current main monospace font is IosevkaTerm Nerd Font.

    I also find the idea of using retro pixel fonts interesting, but so far couldn’t get myself to actually try some of the fonts mentioned here: https://news.ycombinator.com/item?id=47708411 .

    • prole@lemmy.blahaj.zone
      link
      fedilink
      arrow-up
      2
      ·
      edit-2
      1 month ago

      Thank you for reminding me of this font name. I did a clean install of my OS a few weeks back, and forgot the terminal font I had been using

  • schnurrito@discuss.tchncs.de
    link
    fedilink
    arrow-up
    3
    ·
    edit-2
    1 month ago

    Mainly that I can clearly distinguish Il1 and 0O. I like DejaVu Sans Mono because it does that; if I’m limited to fonts preinstalled on Windows, Lucida Console works too.

  • vext01@feddit.uk
    link
    fedilink
    arrow-up
    3
    ·
    1 month ago

    I love iosevka because it’s so condensed. You can fit so much on the screen.

  • whotookkarl@lemmy.dbzer0.com
    link
    fedilink
    arrow-up
    2
    ·
    1 month ago

    For mono space I’ve been using Ubuntu mono for a long time, there may be better but it was good enough when I was choosing and I haven’t had any issues that made me want to pick a new one. For standard I use open sans.

  • Mesa@programming.dev
    link
    fedilink
    arrow-up
    2
    ·
    edit-2
    1 month ago

    Courier New but 0 has a distinguishing slash.

    Edit: or dot. The dot is probably more fitting.