Skip to main content

Implementing Standard Protocols

I am writing this while waiting for the new version of XCode to download and install on my MacBook. This 3.5G install gives you time to run errands, grab coffee, or in my case - write a blog entry.

I often spend time talking about new APIs with executives and engineering teams. Most of the time executives and engineering managers understand the value of a well-designed interface, but when it comes time to fully supporting some standard you get some resistance. Today I'd like to dissect my experience in trying to convince people to sign up for the work it takes to fully support a standard.

90% of the time an enhancement to the API happens because a customer comes in and has an issue that can't be solved with the current set of interfaces. Features creep in one by one and in general the default behavior is to add just enough to solve the problem at hand. From a cost perspective it also makes sense to avoid building things you don't need right away.

In addition to the internal inertia there is also a school of thought of iterative design, except that iterative design is not such a good thing with the API. Companies that have integrated with you aren't so keen on going back and refactoring that piece of code on your schedule.

Signing up for the work to fully support a standard needs to be broken down into dollars and sense. First supporting a standard rather than adding a couple of features has its costs:
1) Standards have elements you don’t immediately need.
2) Standards take away some flexibility
3) It takes longer
4) Someone needs to read and understand the standard in order to implement it.
What are the benefits? Here are some benefits that go beyond engineering purism:
1) the design time put into a standard doesn’t need to be replicated internally
2) a lot of times there are test kits you can use to do automated testing
3) standard protocol generally have a good deal of documentation which eases the burden on the internal doc team.
4) Helping people implement a solution based on a standard will require less support and professional services involvement.
5) Implementing a good standard is good for developer marketing.

While the time it takes to understand and develop full support of a standard are very obvious costs. The benefits need to be explained. The things that worked best for me are #2 and #5. If you find a test kit and can shave time off the release in the testing department it’s a slam-dunk. If there are some apps or companies that already know how to work with a protocol and because of that are going to integrate with your service – that’s another easy win. Still depending on the cost of supporting a standard you might need to consider all five benefits and put a dollar or time value on those.

Good luck defending standards implementation. Remember – it pays off in the end!


Popular posts from this blog

SDET / QA Engineer Interview Checklist

After interviewing and hiring hundreds of engineers over the past 12+  years I have come up with a few checklists.  I wanted to share one of those with you so you could conduct comprehensive interviews of QA Engineers for your team. I use this checklist when I review incoming resumes and during the interview.  It keeps me from missing areas that ensure a good team and technology fit.  I hope you make good use of them.  If you think there are good questions or topics that I have missed - get in touch with me! SDE/T or QA Engineer interview checklist from Mike Borozdin If you like this checklist you might want to check out these posts: Emotional Intelligence in Software Teams   and  Good-bye manual tester, hello crowdsourcing!

Code versus Configuration

At Ethos we are building a distributed mortgage origination system and in mortgage there is a lot of different user types with processes that vary depending on geography.  One of our ongoing discussions is about how much of the logic resides in code vs. being in a workflow system or configuration.  After researching this topic for a bit, I have arrived at a conclusion that the logic should live outside of code very infrequently, which might come as a surprise to a lot of enterprise software engineers. Costs of configuration files and workflow engines First thing that I assume is true is that having any logic outside of the code has costs associated with it.  Debugging highly configurable system involves not only getting the appropriate branch from source control, you also need to make sure that the right configuration values or the database.  In most cases this is harder for programmers to deal with.  In many FinTech companies where the production data is not made readily acce

Intuitive Programming - Comments

Comments are a topic of vibrant discussion.  Ever since programmers could leave some text in the program that was ignored by the machine the debate started: “what’s a good comment, what’s a bad comment, why comment?” There are endless instructions to programmers that say many of the following things: 1) Describe your function! 2) Don’t write in the comment what you wrote in the code. 3) Tell people why you are doing what you are doing. What I think has been missing from this discourse is the audience for comments and through those audiences there is intent.  The code is being read, skimmed or analyzed by people and tools.  So what are the audiences and reading modes? 1) Maintaining and enhancing the code 2) Skimming through the entire module or file to figure out what the overall structure is 3) Reviewing the test files to check out the test coverage and edge cases 4) Seeing the docstrings of functions while being in a separate file altogether 5) Reviewi