关于“软件开发中遇到的所有问题,都可以通过增加一层抽象而得以解决”的真相

2015-01-15 00:28:59 +08:00
 mcfog

忘记第一次听到这句话是在哪里了,但总觉得抽象太多是很成问题的

今天突然看到这样一句话

Abstract layer can solve many problems, except problem of having too many abstract layers.

顿时醍醐灌顶,这不就是下联“除了抽象层太多的问题之外”么!

搜了一下这句话首先abstract layer是level of indirection的误传,然后原文大概是这样两句话

Any problem in computer science can be solved with another level of indirection

和下联

All problems in computer science can be solved by another level of indirection, except of course for the problem of too many indirections

来自 Butler LampsonDavid Wheeler

大概就是这样,好像挖到火星坟了,明天还要搬砖,就酱

7088 次点击
所在节点    编程
5 条回复
unionx
2015-01-15 00:52:15 +08:00
也可能抽错了
levn
2015-01-15 00:58:22 +08:00
也可以不那样做,但是那样你就没法理解你所做的
iptux
2015-01-15 07:58:22 +08:00
可能换个角度好理解一些:「每一次抽象都是为了解决某个或者某些问题」
viviworld
2015-01-15 10:35:30 +08:00
不明觉厉
wizardforcel
2017-02-06 17:50:31 +08:00
Nothing can be done with a layer of abstract. If any, make it double.

23333

这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。

https://www.v2ex.com/t/162253

V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。

V2EX is a community of developers, designers and creative people.

© 2021 V2EX