Skip to main content
Share Your Experience: Take the 2024 Developer Survey

New answers tagged

0 votes

"Public APIs are forever: Only one chance to get it right"?

Changing a widely used API is a pain. You need a very good reason. Many languages allow you to mark things as “deprecated”. So the first step is to provide a better API, mark the old one as deprecated,...
gnasher729's user avatar
  • 45.7k
0 votes

Android Jetpack DataStore item separation

Since you are coming from SharedPreferences I assume you are using a Preferences DataStore and not a Proto DataStore. First off, I guess this is a typo? DataStore is synchronous only It's the other ...
Leviathan's user avatar
  • 101
0 votes

"Public APIs are forever: Only one chance to get it right"?

It is true to in the sense that if you don't want to cause working software to stop working, then you should keep public API's around forever. You can introduce new API's, but you can't remove older ...
JacquesB's user avatar
  • 59.7k
0 votes

"Public APIs are forever: Only one chance to get it right"?

Breaking changes must be avoided at all cost, except if there is a VERY good reason for it. Every time you introduce a breaking change it will exponentially ripple to all dependent software. Much of ...
Alberto Salvia Novella's user avatar

Top 50 recent answers are included