What's the difference between
and
Enter two words to compare and contrast their definitions, origins, and synonyms to better understand how those words are related.

Dispense vs Inject - What's the difference?

dispense | inject |

As verbs the difference between dispense and inject

is that dispense is while inject is to push or pump (something, especially fluids) into a cavity or passage.

dispense

English

Verb

  • To issue, distribute, or put out.
  • * Sir Walter Scott
  • He is delighted to dispense a share of it to all the company.
  • * 1955 , William Golding, The Inheritors , Faber and Faber 2005, p.40:
  • The smoky spray seemed to trap whatever light there was and to dispense it subtly.
  • To apply, as laws to particular cases; to administer; to execute; to manage; to direct.
  • to dispense justice
  • * Dryden
  • While you dispense the laws, and guide the state.
  • To supply or make up a medicine or prescription.
  • The pharmacist dispensed my tablets.
    An optician can dispense spectacles.
  • To eliminate or do without; used intransitively with with .
  • I wish he would dispense with the pleasantries and get to the point.
  • (obsolete) To give a dispensation to (someone); to excuse.
  • * , II.34:
  • After his victories, he often gave them the reines to all licenciousnesse, for a while dispencing them from all rules of military discipline.
  • * Macaulay
  • It was resolved that all members of the House who held commissions, should be dispensed from parliamentary attendance.
  • * Johnson
  • He appeared to think himself born to be supported by others, and dispensed from all necessity of providing for himself.
  • (obsolete) To compensate; to make up; to make amends.
  • * Spenser
  • One loving hour / For many years of sorrow can dispense .
  • * Gower
  • His sin was dispensed / With gold, whereof it was compensed.

    Derived terms

    * dispensary * dispenser

    Noun

    (en noun)
  • (obsolete) Cost, expenditure.
  • (obsolete) The act of dispensing, dispensation.
  • * , II.xii:
  • what euer in this worldly state / Is sweet, and pleasing vnto liuing sense, / Or that may dayntiest fantasie aggrate, / Was poured forth with plentifull dispence [...].

    inject

    English

    Verb

    (en verb)
  • To push or pump (something, especially fluids) into a cavity or passage.
  • The nurse injected a painkilling drug into the veins of my forearm.
  • To introduce (something) suddenly or violently.
  • Punk injected a much-needed sense of urgency into the British music scene.
  • * Milton
  • Caesar also, then hatching tyranny, injected the same scrupulous demurs.
  • To administer an injection to (someone or something), especially of medicine or drugs.
  • Now lie back while we inject you with the anesthetic.
    to inject the blood vessels
  • To take or be administered something by means of injection, especially medicine or drugs.
  • It's been a week since I stopped injecting , and I'm still in withdrawal.
  • (computing) To introduce (code) into an existing program or its memory space, often without tight integration and sometimes through a security vulnerability.
  • * {{quote-usenet
  • , year=1996 , monthday=November 11 , author=David TaillĂ© , email=taille@calva.net , title=Getting Process information , id=MPG.cf15f0a5cfb22c3989699@news.calvacom.fr , group=comp.os.ms-windows.programmer.win32 citation
    Yes, you'll have to use CreateRemoteThread to "inject code" if you want information like the current directory of a process (at least on NT 3.5x).
  • * {{quote-usenet
  • , year=1999 , monthday=August 23 , author=Osvaldo Pinali Doederlein , email=osvaldo@visionnaire.com.br , title=Java is Going to Be the Death of Java , id=001b01beed13$76a66350$450510ac@mde.emn.fr , group=comp.lang.java.advocacy citation
    As soon as a virus programmer discovers that some popular ActiveX thing has a bug that can be exploited, e.g. with controlled crashes to inject code, it's going to be a disaster.
  • * {{quote-book
  • , year=2003 , author=Ryan Russell , title=Stealing the Network: How to Own the Box , chapter=The Thief No One Saw citation , isbn=1931836876 , page=146 , passage=A quick test to see if I can inject SQL data is to enter my username and password as 'a.}}
  • * {{quote-book
  • , year=2007 , author=Jeremiah Grossman and Robert Hansen , title=XSS Attacks: Cross-Site Scripting Exploits and Defense , chapter=XSS Theory citation , isbn=1931836876 , page=86 , passage=DOM XSS is an unusual method for injecting JavaScript into a user's browser.}}
  • * {{quote-book
  • , year=2010 , author=Andrew Moore , title=Visual Studio 2010 All-in-One for Dummies , chapter=AJAX Explained: What It Does and Why You Should Consider Using It citation , isbn=9780470539439 , page=410 , passage=The AJAX controls inject the appropriate JavaScript code into the HTML output stream without you needing to code any JavaScript yourself.}}
  • (obsolete) To cast or throw; used with on .
  • * Alexander Pope
  • And mound inject on mound.