Stub vs Mock - What's the difference?
stub | mock |
Something blunted, stunted, or cut short, such as stubble or a stump.
* Dryden
A piece of certain paper items, designed to be torn off and kept for record or identification purposes.
(computing) A placeholder procedure that has the signature of the planned procedure but does not yet implement the intended behavior. (
* 1996 , Chip Weems, Nell Dale, Pascal :
(computing) A procedure that translates requests from external systems into a format suitable for processing and then submits those requests for processing. (
* 2002 , Judith M Myerson, The Complete Book of Middleware :
(wikis) A page providing only minimal information and intended for later development.
The remaining part of the docked tail of a dog
An unequal first or last interest calculation period, as a part of a financial swap contract
(obsolete) A log; a block; a blockhead.
A pen with a short, blunt nib.
A stub nail; an old horseshoe nail; also, stub iron.
To remove most of a tree, bush, or other rooted plant by cutting it close to the ground.
To remove a plant by pulling it out by the roots.
To jam, hit, or bump, especially a toe.
pillar
column (upright supporting beam)
An imitation, usually of lesser quality.
Mockery, the act of mocking.
* Bible, Proverbs xiv. 9
A practice exam set by an educating institution to prepare students for an important exam.
To mimic, to simulate.
* Shakespeare
* Shakespeare
To make fun of by mimicking, to taunt.
* Bible, 1 Kings xviii. 27
* Gray
To tantalise, and disappoint (the hopes of).
* Bible, Judges xvi. 13
* 1597 , William Shakespeare, Henry IV , Part II, Act V, Scene III:
* 1603 , William Shakespeare, Othello , Act III, Scene III:
* 1667 , John Milton, Paradise Lost :
* Milton
* 1765 , Benjamin Heath, A revisal of Shakespear's text , page 563 (a commentary on the "mocke the meate" line from Othello):
* 1812 , The Critical Review or, Annals of Literature , page 190:
Imitation, not genuine; fake.
As nouns the difference between stub and mock
is that stub is something blunted, stunted, or cut short, such as stubble or a stump while mock is an imitation, usually of lesser quality.As verbs the difference between stub and mock
is that stub is to remove most of a tree, bush, or other rooted plant by cutting it close to the ground while mock is to mimic, to simulate.As an adjective mock is
imitation, not genuine; fake.stub
English
(wikipedia stub)Noun
(en noun)- And prickly stubs instead of trees are found.
- check stub'', ''ticket stub'', ''payment stub
[http://books.google.com/books?vid=ISBN185233570X&id=t4ZkqmbLHMMC&pg=PA53&lpg=PA53&dq=stub+procedure+-remote&sig=SZtMm8JhyE9HUVlKbp-U_TG2-hY], [http://books.google.com/books?vid=ISBN0763707929&id=X_VlpfGoQRgC&pg=PA352&lpg=PA352&dq=stub+procedure+-remote&sig=oppYeiiRBcoPAkpkxZcbpcyaXIA).
- Even though the stub is a dummy, it allows us to determine whether the procedure is called at the right time by the program or calling procedure.
[http://books.google.com/books?vid=ISBN3540419454&id=mH4MFwHDRB4C&pg=PA716&lpg=PA716&dq=stub+procedure&sig=r3IGw__iPlskg9HCllA6I4lqX-M], [http://books.google.com/books?vid=ISBN0849312728&id=Gc886KgsdcsC&pg=PA7&lpg=PA7&dq=stub+procedure&sig=x-txczr_KTmgepfZBsxPHy7Vncw)
- After this, the server stub calls the actual procedure on the server.
- (Milton)
Hyponyms
* stubble * stumpAntonyms
* (computer) skeleton (4)Derived terms
* pencil stub * pay stubVerb
(stubb)- I stubbed my toe trying to find the light switch in the dark.
Derived terms
* unstubbedReferences
External links
* * *Anagrams
* * * * ---- ==Serbo-Croatian==Alternative forms
*Noun
Declension
{{sh-decl-noun , stub, stubovi , stuba, stubova , stubu, stubovima , stub, stubove , stube, stubovi , stubu, stubovima , stubom, stubovima }}mock
English
Alternative forms
* (l) (obsolete)Noun
(en noun)- (Crashaw)
- Fools make a mock at sin.
- He got a B in his History mock , but improved to an A in the exam.
Verb
(en verb)- To see the life as lively mocked' as ever / Still sleep ' mocked death.
- Mocking marriage with a dame of France.
- Elijah mocked them, and said, Cry aloud.
- Let not ambition mock their useful toil.
- Thou hast mocked me, and told me lies.
- And with his spirit sadly I survive, / to mock the expectations of the world; / to frustrate prophecies, and to raze out / rotten opinion
- "It is the greene-ey'd Monster, which doth mocke / The meate it feeds on."
- Why do I overlive? / Why am I mocked with death, and lengthened out / to deathless pain?
- He will not / Mock us with his blest sight, then snatch him hence.
- ‘Mock’ certainly never signifies to loath. Its common signification is, to disappoint.
- The French revolution indeed is a prodigy which has mocked the expectations both of its friends and its foes. It has cruelly disappointed the fondest hopes of the first, nor has it observed that course which the last thought that it would have pursued.