logoalt Hacker News

tgsovlerkhgsellast Wednesday at 9:41 PM2 repliesview on HN

Deprecations don't work. Don't deprecate stuff without a really really good reason. The new API being cleaner is not a good reason. There are very few good reasons.

If you deprecate something in a popular library, you're forcing millions of people to do work. Waste time that could be used for something better, possibly at a time of your choice, not theirs. It was emitting warnings for 3 years... so you think everyone should have to rewrite their software every 3 years?

Especially for something like this. Only document it in a footnote, mark it as deprecated, etc - but don't remove the alias.

Don't break stuff, unless, to quote a famous work, you think your users are scum. Do you think your users are scum? Why do you hate your users?


Replies

jghnlast Thursday at 12:09 PM

Open source developers have no such obligation. They’re doing things on their own time. But hey, I’m sure they’d be willing to give you a full refund for the amount you paid them to use their work