Stub vs Mock - What's the difference?

stub | mock |


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.

Other Comparisons: What's the difference?

stub

English

(wikipedia stub)

Noun

(en noun)
  • Something blunted, stunted, or cut short, such as stubble or a stump.
  • * Dryden
  • And prickly stubs instead of trees are found.
  • A piece of certain paper items, designed to be torn off and kept for record or identification purposes.
  • check stub'', ''ticket stub'', ''payment stub
  • (computing) A placeholder procedure that has the signature of the planned procedure but does not yet implement the intended behavior. ( [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).
  • * 1996 , Chip Weems, Nell Dale, Pascal :
  • 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.
  • (computing) A procedure that translates requests from external systems into a format suitable for processing and then submits those requests for processing. ( [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)
  • * 2002 , Judith M Myerson, The Complete Book of Middleware :
  • After this, the server stub calls the actual procedure on the server.
  • (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.
  • (Milton)
  • A pen with a short, blunt nib.
  • A stub nail; an old horseshoe nail; also, stub iron.
  • Hyponyms

    * stubble * stump

    Antonyms

    * (computer) skeleton (4)

    Derived terms

    * pencil stub * pay stub

    Verb

    (stubb)
  • 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.
  • I stubbed my toe trying to find the light switch in the dark.

    Derived terms

    * unstubbed

    References

    Anagrams

    * * * * ---- ==Serbo-Croatian==

    Alternative forms

    *

    Noun

  • pillar
  • column (upright supporting beam)
  • 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)
  • An imitation, usually of lesser quality.
  • (Crashaw)
  • Mockery, the act of mocking.
  • * Bible, Proverbs xiv. 9
  • Fools make a mock at sin.
  • A practice exam set by an educating institution to prepare students for an important exam.
  • He got a B in his History mock , but improved to an A in the exam.

    Verb

    (en verb)
  • To mimic, to simulate.
  • * Shakespeare
  • To see the life as lively mocked' as ever / Still sleep ' mocked death.
  • * Shakespeare
  • Mocking marriage with a dame of France.
  • To make fun of by mimicking, to taunt.
  • * Bible, 1 Kings xviii. 27
  • Elijah mocked them, and said, Cry aloud.
  • * Gray
  • Let not ambition mock their useful toil.
  • To tantalise, and disappoint (the hopes of).
  • * Bible, Judges xvi. 13
  • Thou hast mocked me, and told me lies.
  • * 1597 , William Shakespeare, Henry IV , Part II, Act V, Scene III:
  • And with his spirit sadly I survive, / to mock the expectations of the world; / to frustrate prophecies, and to raze out / rotten opinion
  • * 1603 , William Shakespeare, Othello , Act III, Scene III:
  • "It is the greene-ey'd Monster, which doth mocke / The meate it feeds on."
  • * 1667 , John Milton, Paradise Lost :
  • Why do I overlive? / Why am I mocked with death, and lengthened out / to deathless pain?
  • * Milton
  • He will not / Mock us with his blest sight, then snatch him hence.
  • * 1765 , Benjamin Heath, A revisal of Shakespear's text , page 563 (a commentary on the "mocke the meate" line from Othello):
  • ‘Mock’ certainly never signifies to loath. Its common signification is, to disappoint.
  • * 1812 , The Critical Review or, Annals of Literature , page 190:
  • 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.

    Synonyms

    * See also * See also

    See also

    * jeer

    Adjective

    (-)
  • Imitation, not genuine; fake.