mcfog
V2EX  ›  编程

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

  •  2
     
  •   mcfog · Jan 15, 2015 · 8257 views
    This topic created in 4316 days ago, the information mentioned may be changed or developed.

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

    今天突然看到这样一句话

    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 Lampson 和 David Wheeler

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

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

    23333
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   2391 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 27ms · UTC 05:15 · PVG 13:15 · LAX 21:15 · JFK 00:15
    ♥ Do have faith in what you're doing.