3 ms·
Good APIs between your code (that means programmatic interfaces, not necessarily over the network) help alot. If you have a subsystem conform to a good API and
by quickthrower2 4y ago
Good APIs between your code (that means programmatic interfaces, not necessarily over the network) help alot.
If you have a subsystem conform to a good API and is well behaved it can be rewritten. It is allowed to have some tech debt.
If the subsystem is sprawled through other subsystems that tech debt doesn't get paid down because now you need an expert in all those areas to fix it.
I swear I have worked places where there is code no one currently at the company can understand. At best you micro-fix for bugs and back the hell away!
- jef_leppard 4y agoGood APIs and interfaces are everything. I call it "the hotdog principle" when I am mentoring folks who are new to the concept. A good API is like a hot dog: Hot dogs are delicious. That is all you need to know about them. You don't want to know whats inside them or details of how they get made. You will be sad if you do. It's funny and gross enough to stick most of the time.
- quickthrower2 4y agoDon’t tell me how the sausage was made! That said sometimes abstractions leak. I was using Firebase and getting the public Url for a blob given it’s path is an async call! God knows why.