When.com Web Search

  1. Ads

    related to: our code standards examples practice manual

Search results

  1. Results From The WOW.Com Content Network
  2. The Power of 10: Rules for Developing Safety-Critical Code

    en.wikipedia.org/wiki/The_Power_of_10:_Rules_for...

    All loops must have fixed bounds. This prevents runaway code. Avoid heap memory allocation. Restrict functions to a single printed page. Use a minimum of two runtime assertions per function. Restrict the scope of data to the smallest possible. Check the return value of all non-void functions, or cast to void to indicate the return value is useless.

  3. Coding best practices - Wikipedia

    en.wikipedia.org/wiki/Coding_best_practices

    A software development methodology is a framework that is used to structure, plan, and control the life cycle of a software product. Common methodologies include waterfall, prototyping, iterative and incremental development, spiral development, agile software development, rapid application development, and extreme programming.

  4. Coding conventions - Wikipedia

    en.wikipedia.org/wiki/Coding_conventions

    Consistent coding standards can, in turn, make the measurements more consistent. Special tags within source code comments are often used to process documentation, two notable examples are javadoc and doxygen. The tools specify the use of a set of tags, but their use within a project is determined by convention.

  5. MISRA C - Wikipedia

    en.wikipedia.org/wiki/MISRA_C

    The Joint Strike Fighter project C++ Coding Standards [3] are based on MISRA-C:1998. The NASA Jet Propulsion Laboratory C Coding Standards [ 4 ] are based on MISRA-C:2004. IEC 81001-5-1:2021 Health software and health IT systems safety, effectiveness and security - Part 5-1: Security - Activities in the product lifecycle cites MISRA C as an ...

  6. Programming style - Wikipedia

    en.wikipedia.org/wiki/Programming_style

    Many organizations and open-source projects adopt specific coding standards to facilitate collaboration and reduce cognitive load. Style guidelines can be formalized in documents known as coding conventions, which dictate specific formatting and naming rules. These conventions may be prescribed by official standards for a programming language ...

  7. Naming convention (programming) - Wikipedia

    en.wikipedia.org/wiki/Naming_convention...

    To reduce the effort needed to read and understand source code; [1] To enable code reviews to focus on issues more important than syntax and naming standards. To enable code quality review tools to focus their reporting mainly on significant issues other than syntax and style preferences.

  8. Defensive programming - Wikipedia

    en.wikipedia.org/wiki/Defensive_programming

    Example 2: legacy code may have been compiled and tested on 32-bit architectures, but when compiled on 64-bit architectures, new arithmetic problems may occur (e.g., invalid signedness tests, invalid type casts, etc.). Example 3: legacy code may have been targeted for offline machines, but becomes vulnerable once network connectivity is added ...

  9. Extreme programming practices - Wikipedia

    en.wikipedia.org/wiki/Extreme_Programming_Practices

    The coding standard may be a standard conventions specified by the language vendor (e.g. The Code Conventions for the Java Programming Language, recommended by Sun), or custom defined by the development team. Extreme Programming backers advocate code that is self-documenting to the furthest degree possible.