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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

Ask HN: How do you organize data and requirements into data structures?

1 点作者 relaunched将近 10 年前
Specifically, when you start thinking about a project, before you start coding, how do you translate use cases &amp; data, into data structures (including planning for inheritance).<p>Does this differ by language, because of differences in data structures? Are there any resources that have given you particularly good insight into the creation of elegant data structures?

1 comment

informatimago将近 10 年前
Concerning the second question, I would say that it should not differ by language. There certainly can be differences in data structures provided by the different language in their run-time or standard libraries, but you should not use a programming language that doesn&#x27;t allow you to implement your own data and functional abstractions, and therefore, you should be able to implement the same abstractions determined needed by your analysis in any target programming language you have to use.<p>sicp would be the resource that gives good insight into the creation of elegant data structures. <a href="https:&#x2F;&#x2F;mitpress.mit.edu&#x2F;sicp&#x2F;" rel="nofollow">https:&#x2F;&#x2F;mitpress.mit.edu&#x2F;sicp&#x2F;</a><p>That, and any book on data structures and algorithms.