Let me coin a phrase
There are a lot of phrases and acronyms.
Every developer should at least know 10. So let’s try it
yep, this is 10, even somehow sorted.
Today I thought I will also provide acronym, a new one, and being a complete developer I will also deliver a well fitting phrase for it.
It does not exist so far, not in this list of 136 acronyms also not in this list of 185 acronyms.
I have already used the one I introduce now once or twice in conversations, so I thought I document this now, not every day I have the chance to coin a phrase.
OBP: Opinion based programming
- So what is OBP, or, opinion based programming
Well, I think it is best to demonstrated by showing the real OBP way and compare it with a less traditional non OBP way.
OBP: Look at the code, I have that many unit tests, and they all pass. My app is well tested!
Non OBP: Look at the code coverage created form running the unit tests, they execute only about 40% of the code.
OBP: Look at the code, I have hand tuned each line of this code, ok it is hard to read, but it is the fastest way to implement it!
Non OBP: Measurement shows no improvement and profiling shows that this peace of code is irrelevant for optimization.
OBP: This is the only way to do it! How else would you solve this problem
Non OBP: Lets take a step back and rephrase the problem and see it we ask the right questions.
Well, I think you get the point, you already know and understand OBP.
The OBP movement
I think everyone is, or has at least been, at least sometimes, part of the opinion based programming movement. It is hard to not be attracted by it. From time to time I find my self following the promises of OBP and sometimes it is not that easy to not follow its promises.
Do you have any OBP examples? If so, please add them to the comment section below.