• algernon@lemmy.ml
    link
    fedilink
    arrow-up
    1
    ·
    6 months ago

    Sadly, that’s not code Linus wrote. Nor one he merged. (It’s from git, copied from rsync, committed by Junio)

  • Alien Nathan Edward@lemm.ee
    link
    fedilink
    English
    arrow-up
    1
    ·
    6 months ago

    rules aren’t there to be enforced, they’re there so that when you break them you take a second to think about why.

  • dejected_warp_core@lemmy.world
    link
    fedilink
    arrow-up
    0
    arrow-down
    1
    ·
    6 months ago

    One nit: whatever IDE is displaying single-character surrogates for == and != needs to stop. In a world where one could literally type those Unicode symbols in, and break a build, I think everyone is better off seeing the actual syntax.

    • PlexSheep@infosec.pub
      link
      fedilink
      arrow-up
      1
      ·
      6 months ago

      I think it’s a lineature. FiraCide does that for example, and I like it very much. My compiler and lsp will tell me if there is a bad char there. Besides, the linea tires take the same space as two regular characters, so you can tell the difference.

      It’s not the 90s anymore. My editor can look nice.