TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Ask HN: What kind of test methodology people like Dennis Ritchie used?

2 点作者 calebjosue9 个月前
I am positive about the benefits of TDD.<p>Still, sometimes I found asking myself what kind of test methodology people like Dennis Ritchie exercised? You know, inventing a programming language like C seems a colossal endeavor.<p>In general what kind of testing methodology they were using back in the day, in the &quot;golden age&quot; of computing.<p>Sorry if the answer for this question is heavily documented elsewhere and I didn&#x27;t do a proper research prior to asking.<p>Thanks!

2 条评论

gregjor9 个月前
My programming career dates back to the &#x27;70s, so I can tell you what programmers did back then from my experience: examined core dumps, inserted &quot;print&quot; statements, desk-checked (manually read through) code with a colleague.<p>We didn&#x27;t have debuggers per se, but we could step through code one instruction at a time and examine memory. On the PDP minicomputers you would do that from the front panel with switches and lights.<p>I had to read assembly code and dis-assemble memory contents into assembly routinely back then. I&#x27;m sure Dennis Ritchie did that too, that skill was part of the toolbox.<p>While TDD became a buzzword and cult much later, in the companies I worked at back then we often&#x2F;usually had to submit a test plan with code to run the tests for any non-trivial code. At my first job (Nike, 1979) we called that code a <i>test harness</i>, more or less the same thing as modern unit tests without the automation. Most companies I worked for through the &#x27;80s would run a parallel hardware system for testing&#x2F;staging, and we worked with business and systems analysts who could verify correct implementation of business rules and look for performance bottlenecks (more of an issue back then compared to today).<p>Brian Kernighan wrote a book about his days at Bell Labs that covers the development of Unix and C.
评论 #41177288 未加载
0823498723498729 个月前
On the off chance no one here answers, maybe try asking on TUHS? <a href="https:&#x2F;&#x2F;www.tuhs.org&#x2F;mailman&#x2F;listinfo&#x2F;tuhs" rel="nofollow">https:&#x2F;&#x2F;www.tuhs.org&#x2F;mailman&#x2F;listinfo&#x2F;tuhs</a><p>(Doug and Ken were still posting there as of last month, and if anyone knows what Dennis&#x27; testing habits were back then, they would)
评论 #41175114 未加载