Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

The sentiment is good but the solution is wrong.

The ideal flow, IMHO:

1: Emit warning, and include if possible a deadline ("will be removed in the next major version")

2: After X time, BEFORE the deadline, turn it into a compiler OR linter error, but keep the code

3: Do the appropriated notification in the channels about it of impending doom

4: Doom

If this is done correctly, we change the expectations from "warnings LOL!" to "warnings are serious business" that is missing in a lot of contexts





Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: