3 ms·
A real world case I recently ran into where thankfully we realized we would need it and added it is versioning. A struct you pass to or receive from an API that
by thewebcount 6y ago
A real world case I recently ran into where thankfully we realized we would need it and added it is versioning. A struct you pass to or receive from an API that has a version in it means the difference between being able to make changes to the internals without changing the externals and not being able to. We didn't need the version field until the second version was released. Had we just said, "Oh, we aren't going to need it," on the first version we would have been boned.
- ric2b 6y agoThat's slightly different, that is not predicting future requirement changes but making it easier to make breaking changes when needed.