Discard 504 Absolutely Essential Words Lesson 35
/dɪˈskɑːd/ (noun & verb)
Verb: to get rid of something that is not needed anymore, jettison, dispose of, toss out, abandon, throw away, eliminate, dispense with, reject, remove, cast off, repudiate, dump
Noun: (of a card game) a card that you have got rid of or discarded
Now you might say, “why? Ninety-percent of the time I am creating a new object with my value factory and it might be a really heavy object like a file or wait handle!” We hear you, but typically, once an object is disposed or discarded, there is no bringing it back and so by disposing of these objects we don’t allow anyone to opt out of that behavior if need be. If we don’t discard objects, the GC will still cleanup your unused objects and if you really need to dispose of an object manually, there is a work around.
Source: https://devblogs.microsoft.com/
Antonym: keep
Noun: discarder
Adjective: discarded