Skip to content

Latest commit

 

History

History
15 lines (8 loc) · 567 Bytes

a-newline-is-not-a-line.md

File metadata and controls

15 lines (8 loc) · 567 Bytes

A newline is not a line

"Files should end with newlines." True -- files should end with newline characters. However, sometimes this is incorrectly interpreted to mean that files should end with an extra line.

A newline is not a line -- it is a character (Line Feed LF) and sometimes 2 characters (CRLF, Carriage Return + Line Feed).

Files should end with a newline character and not extra lines.

The character should be a Line Feed character (LF, 0x0A, \n).


Posted Dec 5, 2021.

https://www.darklaunch.com/2021/12/05/a-newline-is-not-a-line.html