For example, Java uses "declaration" (class declaration, method declaration), while Python uses "definition" (class definition, function definition). This distinction is observed in Pascal "units" (modules), and in conventional C and C++ code organization, which has header files consisting largely of pure declarations, and source files consisting of definitions, though this is not always strictly observed, nor enforced by the language. (责任编辑:) |