Our Journey to Multi-Region: Routing API Traffic
product.hubspot.com2 pointsby HiJon890 comments
try (Timer ignored = Metrics.newTimer("getOrders")) {
return db.getOrders();
}
Another common example is when you are implementing an interface method or overriding a superclass method, and your implementation doesn't need all the arguments. Would be great for the programmer to have a way to express this intent (to the compiler and to the reader) We don’t need to write a test that tests this function as a whole, we can test the parts we care about independently.
What could possibly go wrong :)
What type would that method accept? Wouldn't it need to be Object? That seems worse than boilerplate