Hi everyone,
I think algorithm is very important for every computer language. But I
don't know another important things.
I am newbie to computer languages, so anyone can tell me what the most
important things are to write a program?
Following are some other important things to consider. These bullets
are essential if you ever end up writing software that could
potentially end up killing people. Furthermore, many of these bullets
are arguably good things to follow regardless of the type of software
you're writing, because they improve on software quality. In other
words, your users will appreciate adherence to some if not all of
these bullets regardless of whether they're flying in a jetliner and
praying that the aircraft doesn't fly into a mountain or are simply
playing an open-source Linux game and praying that it doesn't crash
when they're on the brink of achieving their personal best score.
1. Requirements (both system and software, both validated, and
documented).
2. Design (documented).
3. Implementation (i.e., code that implements the requirements and
design, with documented coding standards in place, of course).
4. Verification (i.e., tests that verify the requirements and design,
with statement and decision coverage, as necessary or proscribed, and
preferably 100% modified condition/decision coverage (MC/DC),
regardless of what is necessary or proscribed). Documented of course.
5. Version Control (documented of course).
6. Quality Assurance (documented of course).
7. Peer reviews of all the above, as necessary (documented of course).
8. Independence applied to all of the above, as necessary.
9. Goto one of the above steps until it's correct (documented of
course).
Best regards
--
jay
A free statement and decision coverage utility that is worth
investigating:
http://gcc.gnu.org/onlinedocs/gcc/Gcov.html
The best statement and decision coverage utility (hands down) that is
worth investigating:
http://www.bullseye.com/