# delayed gratification 說明 delayed gratification 詞彙的相關意思與實務中的使用方式 <https://hackmd.io/@hacktionary/term-delayed-gratification> ## 內容大綱 [TOC] ## <ruby>名詞<rp>(</rp><rt>Noun</rt><rp>)</rp></ruby><ruby>片語<rp>(</rp><rt>phrase</rt><rp>)</rp></ruby> ### 延遲享樂 #### 例句 > Some people think unit testing is evil, but really--the only honest rationale they can come up with for not doing it is laziness. Let's face it--proper unit testing is hard work, but it pays off in the end. Those who do it have learned a lesson (usually as children) about the value of **delayed gratification**. > 有些人認為單元測試(unit testing)是邪惡的,但事實上——他們唯一能夠提出不去作它的老實理由是懶惰。來面對現實吧——妥善的單元測試(unit testing)是一項辛苦的工作,但其終將有所回報。會做單元測試的人(通常在小時候)都曾學過**延遲享樂**價值的一門課。 > ——摘錄自 [Unit testing anyone? | Chapter 2: Project management and the GNU coding standards](http://freesoftwaremagazine.com/articles/gnu_coding_standards_applied_to_autotools/) [OpenAI 平台(gpt-4-turbo)參考翻譯與詞彙在情境中的說明](https://platform.openai.com/playground/p/5cTvrp2BKu6BuJzXwsm1ytWw?mode=chat): > 有些人認為單元測試是邪惡的,但實際上他們唯一能誠實提出的理由就是懶惰。面對現實吧—正確的單元測試是一項辛苦的工作,但最終有所回報。那些進行單元測試的人已經學到了一個教訓(通常是在孩提時代)關於**遲延滿足**的價值。 > > In this passage, the emphasized term **遲延滿足** (delayed gratification) refers to the process of resisting the temptation of an immediate reward in preference for a later, potentially greater, reward. This concept is highlighted to illustrate a key principle learned by those who engage in unit testing. Despite the immediate challenges and additional effort required in unit testing, these individuals understand that they can achieve greater benefits in the long run, such as higher quality software and reduced risk of significant problems later. This foresight and willingness to endure short-term discomfort for long-term gain is linked to the psychological concept of delayed gratification, which is often developed during childhood. Google Gemini(2.0 Flash) 參考翻譯與詞彙在情境中的說明: > 有些人認為單元測試是邪惡的,但實際上,他們唯一能拿出來不做單元測試的理由就是懶惰。讓我們面對現實吧,完善的單元測試是件苦差事,但最終會得到回報。那些做單元測試的人都學到了一課(通常是在孩童時期),那就是**延遲享樂**的價值。 > > **延遲享樂 (yánchí xiǎng lè)**, or "delayed gratification," refers to the ability to resist an immediate reward or pleasure in favor of a larger or more fulfilling reward later. In the context of the passage, it implies that: > > - **Unit testing requires upfront effort:** Writing unit tests takes time and effort, which can feel like a burden when you want to quickly complete a feature. > - **The benefits are long-term:** The rewards of unit testing, such as fewer bugs, easier maintenance, and increased code confidence, are realized over time. > - **Discipline and foresight are needed:** Those who understand the value of delayed gratification are willing to put in the hard work now to reap the benefits later. > > Essentially, it's about having the self-control to prioritize long-term gains over short-term convenience. --- 本文件為[《Hacktionary》專案](https://hackmd.io/@hacktionary/home)的衍生作品,以[《Creative Commons 姓名標示-相同方式分享》授權條款第 4.0 國際版](https://creativecommons.org/licenses/by-sa/4.0/deed.zh_TW)或其任意更近期版本釋出供大眾於授權範圍內自由使用 如參與本平台的內容實作視同為將您的內容以相同授權條款釋出 部份內容為基於合理使用(fair use)原則使用,使用方式請參閱其註明之來源與作者 <style> /* 調大旁註文字的字元大小 */ rt{ font-size: 10pt; } </style>