4 ms·
I'm thinking about how this technique would apply to our codebase, and I'm not seeing it. The company does Caller Name ID (returns a name based on a phone numb
by spc476 7y ago
I'm thinking about how this technique would apply to our codebase, and I'm not seeing it. The company does Caller Name ID (returns a name based on a phone number), and the code I work on is on the call path (as the call is being made).
Our original code path for Android on CDMA went A, B, C, D and E.
Then SIP came along, and we had to do A, B, E and D (C no longer required for SIP) but we still have to support CDMA.
Then step B got more complicated, so we had to do B and B2 at the same time (basically, B and B2 are data queries internally), so CDMA: A, B & B2, C, D and E. SIP: A, B & B2, E, D.
Then iPhone support comes along, and it doesn't matter if it's CDMA or SIP, we have to do A, B2, conditionally B (depends upon result of B2, so here we can't do both at the same time) and finally E2. And keep all the previous behavior intact.
In our case, we aren't replacing old code, but keeping it around and adding new features into the mix. I think either way we'll still end up with a big ball of mud.