V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
mcfog
V2EX  ›  编程

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

  •  2
     
  •   mcfog · 2015-01-15 00:28:59 +08:00 · 7071 次点击
    这是一个创建于 3386 天前的主题,其中的信息可能已经有所发展或是发生改变。

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

    今天突然看到这样一句话

    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

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

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

    23333
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   3725 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 32ms · UTC 10:40 · PVG 18:40 · LAX 03:40 · JFK 06:40
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.