discard vs dispose

discard

verb
  • To throw away, to reject. 

  • To make a discard; to throw out a card. 

  • To dismiss from employment, confidence, or favour; to discharge. 

noun
  • A temporary variable used to receive a value of no importance and unable to be read later. 

  • Anything discarded. 

  • A discarded playing card in a card game. 

dispose

verb
  • To eliminate or to get rid of something. 

  • To deal out; to assign to a use. 

  • To distribute or arrange; to put in place. 

  • To incline. 

How often have the words discard and dispose occurred in a corpus of books? (source: Google Ngram Viewer )