←back to thread

422 points km | 1 comments | | HN request time: 0.192s | source
Show context
ripe ◴[] No.41833234[source]
Ha, ha, ha! I love it. I believe the author is serious, and I think he's on to something.

OP clearly says that most things in fact don't break if you just don't comply with the CRLF requirement in the standard and send only LF. (He calls LF "newline". OK, fine, his reasoning seems legit.) He is not advocating changing the language of the standard.

To all those people complaining that this is a minor matter and the wrong hill to die on, I say this: most programmers today are blindly depending on third-party libraries that are full of these kinds of workarounds for ancient, weird vestigial crud, so they might think this is an inconsequential thing. But if you're from the school of pure, simple code like the SQLite/Fossil/TCL developers, then you're writing the whole stack from scratch, and these things become very, very important.

Let me ask you instead: why do you care if somebody doesn't comply with the standard? The author's suggestion doesn't affect you in any way, since you'll just be using some third-party library and won't even know that anything is different.

Oh bUT thE sTandArDs.

replies(1): >>41833702 #
1. abhinavk ◴[] No.41833702[source]
> (He calls LF "newline". OK, fine, his reasoning seems legit.) He is not advocating changing the language of the standard.

The Unicode standard does call it NL along with LF.

    000A  <control>
      = LINE FEED (LF)
      = new line (NL)
      = end of line (EOL)
Source: https://www.unicode.org/charts/PDF/U0000.pdf