News for hackers. Stuff that matters.
Re:The Theatre of Pull Requests and Code Review by mgkimsal on Thursday September 25, 2025 @01:22PM (#45375892)
API changes breaking BC feel like they should be using versioning. I don't see enough people putting versioning support in to their API stuff at the outset. I've been chastised for doing that with "YAGNI". And then... one day, we do need it, and trying to introduce versioning support becomes... that much harder.
Re:The Theatre of Pull Requests and Code Review by degamad on Thursday September 25, 2025 @02:06PM (#45376530)
The context here was a class API, not a REST API, so versioning is not relevant.
Re:The Theatre of Pull Requests and Code Review by mgkimsal on Friday September 26, 2025 @09:14AM (#45386148)
You're right... misread that.

Does seem like you could namespace classes in to versions. Then it's much clearer which version of a class a caller is using.