Monthly Archives: March 2017

Query API with startId, endId, and count

I recently had to write a query API for items in a service. Each item has a numerical, consecutively increasing integer as identifier. Therefore, it made sense to allow callers to specify a range. It also makes sense to specify … Continue reading

Share
Posted in Code Pranger, Programming | Leave a comment

Print This Post Print This Post   Email This Email This

Backing Out Changes and Fixing Things

Let’s say we have three people: Adam, Bob, and Charlie. Adam submits a change, which later turns out to be bad. Bob submits a somewhat unrelated change. Charlie realizes that Adam’s change is bad and backs it out. That, however, … Continue reading

Share
Posted in Code Pranger | Leave a comment

Print This Post Print This Post   Email This Email This