Login
You're viewing the code4lib.social public feed.
  • Nov 22, 2026, 8:06 PM

    I occasionally see code snippets with font ligatures: you type ">=" and it shows "≥" instead. For me the biggest issue is didactical. It took a while for me to remember that it's ">=" and not "=>" and it does help to see the real thing in code snippets. Anyone who uses these ligatures is making it harder for people to learn coding through examples. I'm specifically thinking of Claude's artefacts.

    #coding #learning #fonts

    💬 1🔄 0⭐ 0

Replies

  • Nov 22, 2026, 8:15 PM

    @raphv but this is a feature of fonts, right? if you don't want them don't use the font

    am i just extremely out of touch with the extent to which people pick their own fonts?

    💬 1🔄 0⭐ 0
  • Nov 22, 2026, 8:24 PM

    @bovine3dom code snippets on websites, rendered with the choice of font of the website. Sure it disappears when copying and pasting into your own IDE, but sometimes I don't copy and paste, I just read code for inspiration, and seeing "≡" in a piece of JS code makes me go "wtf?"

    💬 1🔄 0⭐ 0
  • Nov 22, 2026, 8:28 PM

    @raphv ah, right, fair enough. about fifteen years ago i forced `pre` to be the font i like with stylesheets and i haven't thought about it since

    💬 0🔄 0⭐ 0