Object Oriented Software Engineering View all facts Glossary Help |
subject > programming language construct > procedure > method > hook method |
hook method | ||||
subject | fact |
hook method | has definition A method that does nothing other than returning to its caller, but is designed to be overridden in subclasses | |
is a subtopic of 3.7 - Basic Description of OCSF- Client Side | ||
is a kind of method | ||
method | is equivalent to the terms "function member" or "member function" which are used in C++ | |
is equivalent to the terms "routine", "function" or "procedure" which are used in non object oriented languages | ||
should have a comment at its head if the method is non-obvious | ||
procedural abstraction | has advantage when using a certain procedure, a programmer does not need to worry about all the details of how it performs its computations; he or she only needs to know how to call it and what it computes | |
hides the details of procedures | ||
procedure | provides procedural abstraction |