Object technology
了解 Taylor, David A. 的《Object technology》(Object technology):2007-02-22–2026-11-01 的 Hacker News 数据中有 5 次提及、4 位讨论者。阅读原文摘录、比较不同观点,将它加入你的书单。
分享到 X社区里的声音
最近 5 条来源记录提及不等于推荐。标签来自源数据的自动分类;请打开原始讨论核对上下文。
此记录保留了作者、时间和来源链接,请打开 HN 阅读完整上下文。
在 Hacker News 阅读原文此记录保留了作者、时间和来源链接,请打开 HN 阅读完整上下文。
在 Hacker News 阅读原文此记录保留了作者、时间和来源链接,请打开 HN 阅读完整上下文。
在 Hacker News 阅读原文此记录保留了作者、时间和来源链接,请打开 HN 阅读完整上下文。
在 Hacker News 阅读原文…O: Procedural programming is like a recipe- you program a sequence of instructions and while there can be if/then, loop and other logic constructs, it still runs like a "choose your own adventure" book. Since you have an imperfect view of the world and how requirements will evolve and you're providing what are essentially sequential instructions, it's brittle and unforgiving to unanticipated requirements. OO is less about writing instructions and more about creating a representation of the world (or at least the aspects you care about) as objects and having them interact with each other to achieve things. Because you're modeling the entities involved and having them interact rather than imposing a prescriptive set of instructions from above, it's cleaner and more resilient to unanticipated requirements. Granted it's overkill to use OO for…
在 Hacker News 阅读原文