hook

(redirected from given the hook)
Also found in: Dictionary, Thesaurus, Medical, Legal, Financial.

hook

1. a piece of material, usually metal, curved or bent and used to suspend, catch, hold, or pull something
2. short for fish-hook
3. 
a. a sharp bend or angle in a geological formation, esp a river
b. a sharply curved spit of land
4. Boxing a short swinging blow delivered from the side with the elbow bent
5. Cricket a shot in which the ball is hit square on the leg side with the bat held horizontally
6. Golf a shot that causes the ball to swerve sharply from right to left
7. Surfing the top of a breaking wave
8. Ice hockey the act of hooking an opposing player
9. Music a stroke added to the stem of a written or printed note to indicate time values shorter than a crotchet
10. another name for a sickle
11. a nautical word for anchor

Hook

 

in machine building, a part of load-lifting machines that suspends loads or lifting attachments on the cables or chains of hoisting mechanisms (load hook); a part of transport machines that transmits tractive forces (coupling hook, draw hook), as between a tractor and trailer. Hooks are made as single hooks or double (sister) hooks. Load hooks made of cast or unit-forged steel have load-lifting capacities of up to 75 tons; laminated load hooks made of drop-forged steel plates have load-lifting capaci-ties of more than 75 tons. Coupling hooks are usually forged or cast single hooks. The main characteristics of hooks are standardized.

hook

[hu̇k]
(computer science)
A modification of a computer program to add instructions to an existing part of the program.
(design engineering)
A piece of hard material, especially metal, formed into a curve for catching, holding, or pulling something.
(electronics)
A circuit phenomenon occurring in four-zone transistors, wherein hole or electron conduction can occur in opposite directions to produce voltage drops that encourage other types of conduction.
(geography)
The end of a spit of land that is turned toward shore. Also known as hooked spit; recurved spit.

hook

hood, 1
1. A curved or bent metal device used for attachment.
2. A bend in the end of a reinforcing bar; also see hooked bar.

HOOK

(1)
? Object Oriented Kernel. Delphia. An object-oriented extension of Delphia Prolog.

hook

(programming)
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.

hook

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.
References in periodicals archive ?
The former Dundee star obeyed orders from French legend Alain Giresse but toiled and was given the hook in the 1- 0 opening day First Division defeat from Caen.
The former Dundee star acted on orders from coach Alain Giresse but toiled and was given the hook in the 1- 0 opening day First Division defeat from Caen.
And once again he was the first to be given the hook as McLeish's dream started to unravel.
Moore was immediately given the hook and replaced by Sergio Porrini.
KENNY MILNE insists he had to accept the unpopular decision of John Hughes to sub him in the 2-1 defeat by Aberdeen Milne was Falkirk's star performer but was surprisingly given the hook by his manager in 73 minutes, making way for playmaker Russell Latapy when the Dons were leading 2-0.
Discomfort and anxiety was spreading throughout a home side now stripped of their earlier superiority and Hendry was booked for clattering Jess before Albertz was given the hook for Ian Ferguson after 70 minutes.
Oczan was fortunate only to be yellow carded for his crime but was given the hook by his own manager at half-time when he was replaced by Markus Probst.
Gutted Jorg was given the hook at half-time but Kirsten insisted: "Albertz has found his perfect position at Rangers and we know his power.
NACHO NOVO taking the cream puff was giving Bears a sore head up and down the countryRangers fans were dismayed at the audacity of the Spaniard when he blanked manager Alex McLeish after being given the hook at East End Park on SundayIan Murdock, Shettleston, Glasgow, said'Novo's attitude after being substituted was disgusting as he has been rotten for weeks.
Calderwood had toiled all day and it was no surprise when he was given the hook 12 minutes into the second-half, with Simon Donnelly his replacement.