![]() |
subject > representation > abstraction > procedural abstraction |
![]() ![]() | |||||||||||
procedural abstraction comparison table |
Subject | use | use in | has definition | be | have | implement as | is a subtopic of | is a kind of | carry out | provide | return |
---|---|---|---|---|---|---|---|---|---|---|---|
method | A concrete implementation of an operation; a procedure in a class | equivalent to the terms "routine", "function" or "procedure" which are used in non object oriented languages | a comment at its head if the method is non-obvious | 2.4 - Methods, Operations and Polymorphism | procedure | procedural abstraction | |||||
operation | to discuss and specify a type of behaviour, independently of any code which implements that behaviour | The abstract notion of something that can be done by one or more classes | a set of methods | 9.2 - Principles Leading to Good Design | procedural abstraction | a responsibility of a class | |||||
stub | top-down testing | A piece of code that has the same interface (i.e. API) as the lower level layers, but which does not perform any real computations or manipulate any real data | 10.9 - Strategies for Testing Large Systems | procedural abstraction | a fixed default value |
Next abstraction: collaboration Up: abstraction Previous abstraction: pipe