• rothaine@lemmy.zip
    link
    fedilink
    arrow-up
    1
    ·
    3 months ago

    Fun read!

    And even today, anyone who has worked on a project where some developers are on Windows and some are not has probably encountered the fun that is configuring autocrlf in Git: Windows uses CRLF (“carriage return, line feed”) as a line ending in text files, while other systems just use LF.

    • hperrin@lemmy.ca
      link
      fedilink
      English
      arrow-up
      0
      ·
      3 months ago

      Personally, I think carriage return line feed makes more sense in the context of a printer carriage. But then, how often are people using printers like that?

      • Onomatopoeia@lemmy.cafe
        link
        fedilink
        English
        arrow-up
        0
        ·
        3 months ago

        It was probably designed like that because line printers were the thing in the early days of Windows.

        • deadbeef79000@lemmy.nz
          link
          fedilink
          arrow-up
          1
          ·
          3 months ago

          That’s in TFA.

          Having two characters: CR followed by LF allowed time for a teletype to physically return its carriage before printing the next printable character.