编程语言与软件工程2015kictanet.or.ke
软件工程中常被遗忘的基本事实(2001)
Frequently Forgotten Fundamental Facts about Software Engineering (2001)
入门 · 约 20 分钟读完前置知识:软件工程基础、项目开发经验、需求与维护概念
导读
这篇 2001 年的文章汇总了软件工程中常被遗忘的“基本事实”,内容源自 Robert Glass 的《Facts and Fallacies of Software Engineering》,涉及需求、维护、复用与质量等经验法则。文中指出维护时“理解现有产品”是主要活动,约占维护时间 30%,提醒从业者正视这些长期存在的工程约束。
HN 关注点:HN 读者围绕这些经验到底算不算“事实”、需求应如何理解,以及维护中理解旧代码的巨大成本展开讨论。
HN 评论精选
这几条评论里:质疑 1 补充 2 亲历 1
质疑质疑作者把经验判断称为“事实”。
当你说“我认为这些是事实”,又说“你可能不同意这些事实”时,这恰恰暗示我们面对的可能并不是事实。
serve_yay查看英文原文
When you say things like "I consider these to be facts" and "you may not agree with these facts", it's a clue that we may not in fact be dealing with facts.
补充指出内容来源是 Glass 的书并推荐阅读。
作者 Robert Glass 把这些内容取自他的书《Facts and Fallacies of Software Engineering》(ISBN 978-0321117427),非常值得买,至少值得浏览目录。比如这里:http://blog.codinghorror.com/revisiting-the-facts-and-fallacies-of-software-engineering/
rednab查看英文原文
The article author, Robert Glass, took these from his book, "Facts and Fallacies of Software Engineering" (ISBN 978-0321117427), which is definitely worth picking up, or in the very least worth skimming the table of contents¹ of. ¹ For example, here: http://blog.codinghorror.com/revisiting-the-facts-and-fallacies-of-software-engineering/
补充需求应理解为待解决的问题,而非详细设计文档。
我总说“人们没有需求,他们有想要解决的问题”。在我看来,太多软件从业者执着于认为“需求”意味着某种详细设计文档。你要等一个有问题的人告诉你怎么解决,那要等很久……
phkahler查看英文原文
I always say "people don't have requirements, they have problems they want solved". IMO too many people in software get hung up thinking "requirements" means some kind of detailed design document. You're gonna wait a long time for someone with a problem to tell you how to solve it...
亲历维护中理解现有代码成本极高,约占维护时间 30%。
很多内容和我现实所见一致。“……除了‘理解现有产品’这一额外维护任务。这项任务是最主要的维护活动,约占维护时间 30%。”我在大型系统里理解不清楚的代码上,肯定浪费了大段编程生涯!编辑:删除了含糊的量化。
aidos查看英文原文
A lot of this mirrors what I've seen in the real world. "...except for the additional maintenance task of “understanding the existing product.” This task is the dominant maintenance activity, consuming roughly 30 percent of maintenance time." I've definitely lost a large chunk of my programming life trying to understand unclear code in large systems! Edit: removed ambiguous quantification
历次讨论
- 2015Hacker News 讨论帖178 分 · 73 评
同领域还值得读
Google 的软件工程(2017)
Software Engineering at Google (2017)
介绍了 Google 的软件工程实践,包括其单一代码库(monorepo)、几乎全部开发在主干进行而非分支、代码审查、构建系统 Blaze、协议缓冲区等工具与流程,并讨论了频繁重…
编程语言与软件工程2017 · 1,127 分 · 465 评 · 引用 15入门 · 约 45 分钟编辑精选Peter Naur:编程作为理论构建 (1985)
Peter Naur – Programming as Theory Building (1985)
Peter Naur 1985 年的经典论文《Programming as Theory Building》提出:编程的本质不是写代码或文档,而是在程序员头脑中构建对程序及其运行…
编程语言与软件工程2016 · 629 分 · 74 评入门 · 约 45 分钟编辑精选SciPy 1.0:Python 科学计算的基础算法
SciPy 1.0: fundamental algorithms for scientific computing in Python
这篇发表于 Nature Methods 的论文介绍了 SciPy 1.0——Python 科学计算生态的基石库,涵盖其核心算法模块(优化、积分、插值、线性代数等)、软件架构与社…
编程语言与软件工程2020 · 387 分 · 98 评入门 · 约 45 分钟编辑精选Lisp 的历史(1979)
History of Lisp (1979)
这是 Lisp 发明者 John McCarthy 于 1979 年为 HOPL(编程语言史)会议撰写的回顾文章,讲述 Lisp 的起源、设计动机与早期演进,文中也涉及 if 表…
编程语言与软件工程2018 · 352 分 · 44 评入门 · 约 45 分钟编辑精选使用 NumPy 进行数组编程
Array Programming with NumPy
这篇 Nature 文章介绍 NumPy 的数组编程模型及其在科学计算中的核心作用:以 ndarray 为中心,通过向量化操作让 Python 高效处理多维数组。
编程语言与软件工程2020 · 318 分 · 134 评入门 · 约 40 分钟编辑精选