r/shittyprogramming • • Jun 06 '18

TRUE, FALSE, FILE_NOT_FOUND

Post image
66 Upvotes

11 comments sorted by

View all comments

Show parent comment

14

u/nemec Jun 06 '18
  1. Add core.linestyle with the new option and rename the older ones.
  2. Make the new option take precedence over the old one if both are set.
  3. Deprecate core.autoclrf.
  4. Eventually remove core.autoclrf from documentation/help. Maybe, depending on backwards compatibility needs, even remove the feature entirely.

8

u/phail3d Jun 07 '18

Tbh you could just deprecate (but not remove) ”true” and ”false” and add ”always” and ”never” or something like that.

3

u/tommij Jun 07 '18

Which would remove crlf as a keyword, one that's useful. "Linestyle" not so much.

Removal of "auto", removes indication that it's something that happens, well, automatically.

I think you've just described why coming up with parameter keywords is not as easy as you think