Noun | 1. | hook - a catch for locking a door |
2. | hook - a sharp curve or crook; a shape resembling a hook Synonyms: crotchet | |
3. | ![]() | |
4. | hook - a mechanical device that is curved or bent to suspend or hold or pull something Synonyms: claw | |
5. | hook - a curved or bent implement for suspending or pulling something | |
6. | hook - a golf shot that curves to the left for a right-handed golfer; "he tooks lessons to cure his hooking" | |
7. | hook - a short swinging punch delivered from the side with the elbow bent | |
8. | hook - a basketball shot made over the head with the hand that is farther from the basket Synonyms: hook shot | |
Verb | 1. | hook - fasten with a hook Antonyms: unhook - take off a hook |
2. | hook - rip off; ask an unreasonable price | |
3. | hook - make a piece of needlework by interlocking and looping thread with a hooked needle; "She sat there crocheting all day" Synonyms: crochet | |
4. | hook - hit a ball and put a spin on it so that it travels to the left | |
5. | hook - take by theft; "Someone snitched my wallet!" | |
6. | hook - make off with belongings of others | |
7. | hook - hit with a hook; "His opponent hooked him badly" | |
8. | hook - catch with a hook; "hook a fish" | |
9. | hook - to cause (someone or oneself) to become dependent (on something, especially a narcotic drug) Synonyms: addict | |
10. | hook - secure with the foot; "hook the ball" | |
11. | hook - entice and trap; "The car salesman had snared three potential customers" Synonyms: snare | |
12. | hook - approach with an offer of sexual favors; "he was solicited by a prostitute"; "The young man was caught soliciting in the park" |
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. |