Printer Friendly
The Free Dictionary
1,083,832,030 visitors served.
?
Dictionary/
thesaurus
Medical
dictionary
Legal
dictionary
Financial
dictionary
Acronyms
 
Idioms
Encyclopedia
Wikipedia
encyclopedia
?

hook
(redirected from glom)

   Also found in: Dictionary/thesaurus, Wikipedia 0.04 sec.

In programming, instructions that provide breakpoints for future expansion. Hooks may be changed to call some outside routine or function or may be places where additional processing is added. See also switch hook.


1.HOOK - ? Object Oriented Kernel. Delphia. An object-oriented extension of Delphia Prolog.
2.(programming)hook - A software or hardware feature included in order to simplify later additions or changes by a user.

For example, a simple program that prints numbers might always print them in base 10, but a more flexible version would let a variable determine what base to use; setting the variable to 5 would make the program print numbers in base 5. The variable is a simple hook. An even more flexible program might examine the variable and treat a value of 16 or less as the base to use, but treat any other number as the address of a user-supplied routine for printing a number. This is a hairy but powerful hook; one can then write a routine to print numbers as Roman numerals, say, or as Hebrew characters, and plug it into the program through the hook.

Often the difference between a good program and a superb one is that the latter has useful hooks in judiciously chosen places. Both may do the original job about equally well, but the one with the hooks is much more flexible for future expansion of capabilities.

Emacs, for example, is *all* hooks.

The term "user exit" is synonymous but much more formal and less hackish.


How to thank TFD for its existence? Tell a friend about us, add a link to this page, add the site to iGoogle, or visit webmaster's page for free fun content.
?Page tools
Printer friendly
Cite / link
Email
Feedback
? Mentioned in ? References in periodicals archive
 
Basically nocturnal, Collar-Glommers descend upon large-company booths as the dinner hour draws near, to try and glom a fancy meal and a night's free entertainment.
So why shouldn't parks and campgrounds of all types glom on to this marketing scheme?
OFF ON THE SIDELINES WERE ALL THE USUAL PROTEST JUNKIES, WHO GLOM ONTO ANY ISSUE AS IF IT'S ALL ABOUT THEM .
 
Encyclopedia browser? ? Full browser
 
 
Encyclopedia
?

Disclaimer | Privacy policy | Feedback | Copyright © 2008 Farlex, Inc.
All content on this website, including dictionary, thesaurus, literature, geography, and other reference data is for informational purposes only. This information should not be considered complete, up to date, and is not intended to be used in place of a visit, consultation, or advice of a legal, medical, or any other professional.. Terms of Use.