Stories
Slash Boxes
Comments

SoylentNews is people

posted by Fnord666 on Monday July 24 2017, @03:39AM   Printer-friendly
from the not-no-but-... dept.

Submitted via IRC for Bytram

Ligatures in programming fonts — a misguided trend I was hoping would collapse under its own illogic. But several readers have already sent me this new argument in favor.

Let me save you some time:

Ligatures in programming fonts are a terrible idea.

And not because I’m a purist or a grump. (Some days, but not today.) Programming code has special semantic considerations. Ligatures in programming fonts are likely to either misrepresent the meaning of the code, or cause miscues among readers. So in the end, even if they’re cute, the risk of error isn’t worth it.

There are good reasons we have Unicode and this is NOT one of them.

Source: http://tinyletter.com/mbutterick/letters/q-ligatures-in-programming-fonts-a-hell-no


Original Submission

 
This discussion has been archived. No new comments can be posted.
Display Options Threshold/Breakthrough Mark All as Read Mark All as Unread
The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
  • (Score: 1, Informative) by Anonymous Coward on Monday July 24 2017, @12:54PM

    by Anonymous Coward on Monday July 24 2017, @12:54PM (#543652)

    Yeah, but if this "shows up" in someone's IDE, it's because they set it up that way, so they'll be well aware of it. Unless you're in the habit of collaborating through emailed screenshots of IDEs, I don't see why someone else would be looking at code in your IDE, but you aren't right there to explain.

    CODER1: Hey, I need a fresh set of eyes on this, can you look at this loop and spot the error?
    CODER2: Sure... wait, WTF! Is that a unicode inequality symbol?! Have you been #defineing high?
    CODER1: Nah, bruh, that's ASCII bang-equal in the file, I just have emacs set to display it as a ligature.
    CODER2: Well, okay then... *mimes masturbation*

    Starting Score:    0  points
    Moderation   +1  
       Informative=1, Total=1
    Extra 'Informative' Modifier   0  

    Total Score:   1