Hacker News new | past | comments | ask | show | jobs | submit login

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.



That's slightly different, that is not predicting future requirement changes but making it easier to make breaking changes when needed.




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

Search: