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
-
This reminds me of a unit test I found I in another team's product.
This unit test checked whether a component was able to generate a specific html body with line breaks in it.
So this unit test failed each time a dev pushed the unit test file with CRLF instead of LF.
I helped 'em out as I added a helper function to assert this shit by removing all line breaks and tabs before equals assertion in expected and actual....
*sigh* -
@Root
The carriage must return so you can type your first letter at the beginning of the page.
Otherwise the carriage will remain on the same position and you can only write a bunch of letters on the same position on the right hand side in the next line.
Sometimes, the world's that easy :P -
Root797756y@TylerDDevRant I know what CR and LF do.
The point I was making is they ARE NEVER USED BY THEMSELVES. EVER.
Okay, LF is used as both on gnu/linux and bsd and all variants thereof. But their original uses? By themselves? Never. You don't see a lone CR even on windows.
Related Rants
-
lautataropaske6I'm new to DevRant Made an account just to say how much I hate lf-crlf errors. Fucking waste of time. Everyti...
-
mmcorreia3Microsoft added support for carriage return (CR) and line feed (LF) to notepad! Source: https://blogs.msdn.mi...
-
codeorbit7When u send ur code for review and instead of getting comments for logic u put in, u get 10+ comments regardin...
New war idea: CRLF vs LF?
random
cr
lf