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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

Duke Nukem 3D Code Review (2013)

15 点作者 erikano大约 10 年前

2 条评论

tibbon大约 10 年前
A serious question; did developers in the 90&#x27;s simply not know things that we know to be good and true today (mutability can induce bugs, consistent naming is good, global state is almost always bad, huge switch statements bad, various code smells, etc), or were doing some of these things not efficient enough for the computers of the day for various reasons?<p>Like, there&#x27;s definitely some smart thinking in this code, but there are also several things that just floor me. A 3000 line switch?<p>I also see this in JavaScript from the 90&#x27;s. Everything global. No patterns. Its just weird.
评论 #9236256 未加载
nerdy大约 10 年前
Really nice review of source for a truly classic game.<p>It&#x27;s cool that we have source available and even better that it&#x27;s so easy to digest with the help of the review like this.