Skip to Content
先整理?
book

先整理?

by Kent Beck
May 2025
Intermediate to advanced
124 pages
1h 7m
Chinese
O'Reilly Media, Inc.
Content preview from 先整理?

第24章 经济学:时间价值和选择性

本作品已使用人工智能进行翻译。欢迎您提供反馈和意见:translation-feedback@oreilly.com

不知怎的,我到了 30 多岁,对金钱的本质一无所知。我可以买卖东西,我可以 "赚钱",但我完全不懂资金流动的物理原理。

计算机拯救了我。一系列与金融相关的项目迫使我对与金钱相关的基本概念进行编程。因为编程是我理解世界的方式,所以我开始理解金钱。随着时间的推移,这些课程逐渐融入我的直觉,改变了我对发展的看法。

詹姆斯-布坎(James Buchan)在《冷冻的欲望》(Picador)一书中提出了这样一个观点:我们经常想要东西,但不是马上就要,而金钱就代表了这种 "冷冻的欲望"。如果你创造的价值足够你吃一个月,但你又不想储存一个月的食物,那么能够把你创造的价值储存起来,一周后再把它变成新鲜的生菜就非常方便了。

不过,钱是个奇怪的东西。它有自己的本质。金钱的本质与金钱在我们工作中的核心地位结合在一起,就会产生矛盾。作为程序员,我们应该做的事情可能与金钱的本质背道而驰。当极客的需要与金钱的需要发生冲突时,金钱就会获胜。最终。

当我对金钱本质的认识深入我的直觉之后,我发现我对编程的态度发生了转变。那些在我看来非常合理的策略,在与金钱的本质相抵触的地方,现在显得有些怪异。那些看似边缘、粗略或幼稚的策略变成了合理的资金管理。我与商业之流划得越多,船就开得越快。

我了解到的自然界有两个令人惊讶的特性:

  • 今天的一美元比明天的一美元更值钱,所以要早赚晚花。

  • 在混乱的情况下,选择胜于一切,因此,面对不确定性,要创造选择。

这两种策略有时会发生冲突。现在赚钱可以减少未来的选择。但如果现在不赚钱,也许将来就没有机会行使这些选择权了。

如果你已经理解了净现值(NPV)和期权格言,请随意跳过接下来的两章。如果对 30 年前的我来说,"净现值和期权格利克 "听起来像胡言乱语,那么请继续学习金融短语手册中的前两个短语。就像在一个陌生的国度能说出 "洗手间在哪里 "和 "请再来一杯啤酒 "一样,下面两章将帮助你开始了解金融世界以及金融对软件设计的深刻影响。

软件设计必须兼顾 "早赚晚花 "和 "创造可选项,而非物品 "这两项要求。在我们更详细地了解了金钱的时间价值和可选性这两种效应之后,我们将讨论软件设计如何与金钱相互作用。

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.

Read now

Unlock full access

More than 5,000 organizations count on O’Reilly

AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

QuotationMarkO’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
QuotationMarkI wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
QuotationMarkI’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
QuotationMarkI'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
Mark W.
Embedded Software Engineer

You might also like

超越Vibe编程

超越Vibe编程

Addy Osmani
Go程序设计语言

Go程序设计语言

艾伦A. A.多诺万, 布莱恩W. 柯尼汉

Publisher Resources

ISBN: 9798341656949