Optimize for V&V, non for writing code

Optimize for V&V, non for writing code - Hallo gues welcome to my blog, you can read this article with title Optimize for V&V, non for writing code, Happy reading

IMPORTANT, MUST BE READ... : Optimize for V&V, non for writing code
Title : Optimize for V&V, non for writing code

Read More


Optimize for V&V, non for writing code

IMPORTANT, MUST BE READ...

Writing code should hold out made to a greater extent than hard then that Verification &Validation tin hold out made easier.

I offset heard this notion years agone at a workshop inwards which several folks from manufacture who construct high assurance software (think flying controls) stood upwards as well as said that V&V is what matters. You mightiness hold back that from flying command folks, but their reasoning applies to pretty much every embedded project. That's because it is a affair of economics. 

Multiple speakers at that workshop said that aviation software tin demand four or v hours of V&V for every 1 hr of creating software. It makes no economical feel to brand life tardily for the 1 hr side of the ratio at the expense of making life painful for the v hr side of the ratio.

Good, but non-life-critical, embedded software requires virtually two hours of V&V for every 1 hr of code creation. So the economical declaration withal holds, alongside a still-compelling multiplier of 2:1.  I don't aid if you're Vee,  Agile, hybrid model or whatever. You're spending fourth dimension on V&V, including at to the lowest degree unopen to activities such equally peer review, unit of measurement test, created automated tests, performing testing, chasing downward bugs, as well as then on. For embedded products that aren't flaky, in all likelihood y'all pass to a greater extent than fourth dimension on V&V than y'all do on creating the code. If you're doing TDD you're taking an approach that has the thought of starting alongside a testing viewpoint built inwards already, past times starting from testing as well as working outward from there. But that's non the only agency to do goodness from this observation.

The practiced intelligence is that making code writing "difficult" does non involve gratuitous pain. Rather, it involves existence smart as well as a chip disciplined then that the code y'all attain is easier for others to perform V&V on. Influenza A virus subtype H5N1 chip of upwards forepart thought as well as organization tin relieve a lot on downstream effort. Some examples include:
  • Writing concise but helpful code comments then that reviewers tin sympathize what y'all meant.
  • Writing code to hold out obvious rather than clever, over again to aid reviewers.
  • Follow a trend direct to brand your code consistent, as well as so easier to understand.
  • Writing code that compiles create clean for static analysis, avoiding fourth dimension wasted finding defects inwards seek out that a tool could accept found, as well as avoiding a someone having to puzzle out which warnings matter, as well as which don't.
  • Spending unopen to fourth dimension to brand your unit of measurement interfaces easier to test, fifty-fifty if it requires a chip to a greater extent than locomote designing as well as coding the unit.
  • Spending fourth dimension making it tardily to delineate betwixt your blueprint as well as the code. For example, if y'all accept a statechart, brand certain the statechart uses names that map straight to enum names rather than using arbitrary terra firma variables such equally "magic number" integers betwixt 1 as well as 7. This makes it easier to ensure that the code as well as blueprint match. (For that matter, only using statecharts to supply a direct to what the code does also helps.)
  • Spending fourth dimension upwards forepart documenting module interaction then that integration testers don't accept to puzzle out how things are supposed to locomote together. Sequence diagrams tin aid a lot.
  • Making the requirements both testable as well as tardily to trace. Make every requirement thought a stand-alone judgement or paragraph as well as laissez passer on it a give away then it's tardily to delineate to a specific seek out primarily designed to seek out that item requirement. Avoid having requirements inwards huge paragraphs of free-form text that mix lots of unlike concepts together.
Sure, these audio similar a practiced idea, but many developers skip or skimp on them because they don't recollect they tin afford the time. They don't accept fourth dimension to brand their code create clean because they're likewise busy writing bugs to come across a deadline. Then they, as well as everyone else, pay for this during the seek out cycle. (I'm non maxim the programmers are necessarily the psyche culprits here, particularly if they didn't instruct a vote on their deadline. But that doesn't modify the outcome.)

I'm hither to say y'all can't afford not to follow these basic code character practices. That's because every hr you're saving past times cutting corners upwards forepart is in all likelihood costing y'all double (or more) downstream past times making V&V to a greater extent than painful than it should be. It's ever hard to invest inwards downstream benefits when the pressure level is on, but doing then is costing y'all dearly when y'all skimp on code quality.

Do y'all accept whatsoever tricks to brand code easier to sympathize that I missed?



IMPORTANT, MUST BE READ...

Thank for your attention Optimize for V&V, non for writing code

my blog Optimize for V&V, non for writing code, Have a nice day.

Now you read article Optimize for V&V, non for writing code this permalink article is http://fairemirima.blogspot.com/2017/11/optimize-for-v-non-for-writing-code.html Thank you and Best regards. You Can read nice Tips below. It was always better to choose topics that interest you or in wich you at least have some knowledge about . When creating targeted internet copywriting , you have to stick with your strong points , or everyone will know it . Make a list of all of the things and or topics that you are interested in . . . How much do you know ? Can you tell it as a story ? That is The essence of writing for the web . You Have to know your subject well , or nobody will believe you it is always better to impress someone then upset them . When Writing Targeted Internet Copywriting , you have to choose your appropriate target group of customers . without a target group of customers , you could ramble on incessantly about random subjects for days on end with no essence of a final goal . You always have to keep in mind who your customers are and what they are looking for . . . . . . . . . IMPORTANT, MUST BE READ...

0 Response to "Optimize for V&V, non for writing code"

Post a Comment