Hacker News new | ask | show | jobs
by drdexebtjl 12 hours ago
One solution that I really like for that is having the user configuration carry some kind of version number.

Then, to change a default from `old` to `new`, you instead change it to `configVersion >= x ? new : old`, and add some kind of non-fatal warning in the else case instructing users to set their config to `old` explicitly.

You don't break people's setups, they become aware of new defaults without reading release notes, and new users get the new defaults.

1 comments

I do like that general idea. I bet it would be possible wrap in a handy elisp macro.