3 ms·
I’m curious where you think an appropriate place would be to put those messages?
by Calamitous 5y ago
I’m curious where you think an appropriate place would be to put those messages?
- brigandish 5y agoChangelog, README, blog.
- Someone 5y agoNeither of those can tell you where you’re using the now deprecated feature. I guess you would be happy with a runtime warning that must be ENabled with a flag and documentation of that flag in the release notes. I fear many users wouldn’t learn about the flag because they don’t read release notes (and yes, that would be a sorry state of affairs), and thus only would learn about it when the feature is removed (in this case because their program would error out, but for other breaking changes, it could ‘happily’ run, but with changed behavior)
- brigandish 5y ago> Neither of those can tell you where you’re using the now deprecated feature. Do you not run tests? Know how to grep? > I guess you would be happy with a runtime warning that must be ENabled with a flag and documentation of that flag in the release notes. Yes, I would, as someone who reads changelogs, READMEs and blog posts before upgrading the interpreter, and who wants the only output of running the interpreter to be a direct consequence of the code I run, not hand-holding for people who are sloppy.
- Someone 5y ago> Do you not run tests? Know how to grep? If individual deprecation warnings have to be specifically enabled, people who don’t read release notes describing them won’t search their source code for possible future problems, and their tests won’t signal any issues before a feature is removed, or (possibly, for other deprecations) behavior is silently changed. Deprecation would be worth zero for such users.
- brigandish 5y agoWhy should we be worried about people who don't read the instructions?