Terminology Note
This section describes some terminologies used in CooCox CoBuilder.
Component
In CooCox CoBuilder, reusable code is called component. A component can be a library, a collection of source files, and so on. It must provide useful functions, be easy to understand and use, and work correctly. Each component has its corresponding code snippets, usage, documentation and comments.
Dependence
If component A calls the content of component B (known as Compilation Dependence), or component A can not correctly execute without component B (known as Application Dependence),
We call component A depends on component B. When you check component A, CoBuilder will automatically check the dependence components of component A. A component can depend on multiple components, and also can be depended by multiple components.
Code Snippet
Code Snippet is also known as example code, it is an extension of component. If the component is object-oriented, the code snippet will be application-oriented. Example, a PIO driver can be known as a component, a function using PIO driver to achieve LED flashing can be known as a code snippet. The code snippet is generally very short, but the features are not restricted. It can be automatically inserted into the code.
|