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?



(wikipedia stub)


(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. ( [], [
  • * 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. ( [], [
  • * 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


    * (computer) skeleton (4)

    Derived terms

    * pencil stub * pay stub


  • 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



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

    Alternative forms



  • pillar
  • column (upright supporting beam)
  • Declension

    {{sh-decl-noun , stub, stubovi , stuba, stubova , stubu, stubovima , stub, stubove , stube, stubovi , stubu, stubovima , stubom, stubovima }}



    Alternative forms

    * (l) (obsolete)


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


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


    * See also * See also

    See also

    * jeer


  • Imitation, not genuine; fake.