Hacker News new | ask | show | jobs
by MichaelGG 3832 days ago
Auto CrLf is a terrible thing that can change the meaning of programs. Source control shouldn't be changing the contents of files (though a hook to format wouldn't be bad necessarily).
1 comments

Auto CRLF is awesome for languages I use. Which ones can it change meaning in?
Any language that allows string literals to wrap lines without normalizing it. Like C# or F#. Anything with HERE docs might do it, but Ruby and Python seem to normalize.