OnlineWoerterBuecher.de
Internes

Lexikon


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. (1997-06-25)

In addition suitable contents:
[ 2 ] [ = ] [ ad ] [ address ] [ ai ] [ al ] [ am ] [ an ] [ ar ] [ arc ] [ as ] [ at ] [ B ] [ b ] [ ba ] [ base ] [ be ] [ bi ] [ bo ] [ br ] [ by ] [ ca ] [ ch ] [ char ] [ character ] [ ci ] [ ck ] [ cl ] [ dd ] [ de ] [ diff ] [ do ] [ du ] [ E ] [ ed ] [ ee ] [ er ] [ era ] [ es ] [ et ] [ feature ] [ fi ] [ file ] [ fo ] [ for ] [ ge ] [ gh ] [ gi ] [ gr ] [ h ] [ hack ] [ hackish ] [ hair ] [ hairy ] [ hang ] [ hardware ] [ hat ] [ hose ] [ hr ] [ ht ] [ id ] [ ie ] [ iff ] [ il ] [ in ] [ inc ] [ include ] [ int ] [ io ] [ ir ] [ is ] [ it ] [ jo ] [ job ] [ ke ] [ ki ] [ la ] [ ld ] [ Lex ] [ li ] [ ls ] [ lu ] [ ly ] [ ma ] [ man ] [ mm ] [ mo ] [ mod ] [ module ] [ mp ] [ mu ] [ na ] [ nc ] [ ne ] [ ng ] [ no ] [ ns ] [ nu ] [ numbers ] [ nym ] [ O ] [ om ] [ pa ] [ pe ] [ ph ] [ pl ] [ pr ] [ program ] [ programming ] [ query ] [ rc ] [ re ] [ ro ] [ routine ] [ sa ] [ say ] [ se ] [ set ] [ sh ] [ si ] [ sl ] [ so ] [ software ] [ su ] [ sy ] [ T ] [ th ] [ to ] [ tr ] [ tt ] [ tw ] [ ua ] [ ug ] [ um ] [ up ] [ us ] [ user ] [ va ] [ value ] [ var ] [ variable ] [ ve ] [ version ] [ write ]






Go Back ]

Free On-line Dictionary of Computing

Copyright © by OnlineWoerterBuecher.de - (5697 Reads)

All logos and trademarks in this site are property of their respective owner.

Page Generation in 0.3105 Seconds, with 17 Database-Queries
Zurück zur Startseite