discard
Phonetic
US /dɪˈskɑːrd/UK /dɪˈskɑːd/
Translations
VERBTo throw away, to reject., To make a discard; to throw out a card., To dismiss from employment, confidence, or favour; to discharge.
NOUNAnything discarded., A discarded playing card in a card game., A temporary variable used to receive a value of no importance and unable to be read later.
Variants
- discards: Third Person Singular, Plural
- discarding: Present Participle
- discarded: Past Participle, Past Tense
Examples
In nature, only 过着有意义的生活在自然界,只有 genes have a 有 utility function – to perpetuate their own existence with indifference to great sufferings inflicted upon the organisms they build, exploit and discard
Source:en.m.wikipedia.org
sed -i 's/discard/nodiscard/' /etc/fstab
Source:github.com
Verifies tests, presents options (merge/PR/keep/discard), cleans up worktree.
Source:github.com
time="2025-11-07T11:59:12+08:00" level=error msg="error receiving message" error="failed to discard after receiving oversized message: cannot allocate memory"
Source:github.com
this warning if you discard its return value
Source:stackoverflow.com