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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

Wiki for code and algorithms

6 点作者 mcxx大约 17 年前

2 条评论

scott_s大约 17 年前
Wonderful idea, but some of code I sampled is not what I would define as literate. For example, the singly linked list implemented in C has a linear time remove operation. While this operation is inherently linear with a singly linked list (you must find the previous node), you're not required to provide it as part of the interface. Personally, I think you shouldn't provide inherently inefficient operations in the interface to a data structure. That a particular operation is not implemented should be a hint to users that this is not the data structure they are looking for. Yes, I'm nitpicking, but this is supposed to be literate code, not just correct code.<p>And yes, I know, it's a wiki, so I can contribute, not just criticize.
apgwoz大约 17 年前
This is a dream for any CS student that doesn't really care about their education.