Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
I hate them so much that I even run a search for " \n" through my sources after editing so that I can remove this shit.
-
@c3r38r170 Because some tools misbehave when they encounter EOF at the last line where they expect \n.
E.g. the C standard actually mandates the source file to end with a \n - which is why I do have the empty line there, for strict ISO conformance. It also helps when #including files to avoid messing up with the next file. -
I use the trailing spaces package in sublime text 3. There's probably wondering similar in vscode and vim.
-
Root825993y@lungdart My vim auto-strips it on save. :)
Makes other devs mad about all of the changes. But their changes adding it make me mad, so we’re even. -
Same. Also auto add a trailing new line to the end of files, and replace \r and \r\n with \n
The one true new line
Related Rants
I hate trailing space in Text Documents.
All my hommies hate trailing space in Text Documents.
rant
hommies
trailing space
hate
meme
text documents