TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Duke Nukem 3D Code Review (2013)

15 pointsby erikanoabout 10 years ago

2 comments

tibbonabout 10 years ago
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 未加载
nerdyabout 10 years ago
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.