编程与软件工程github.com
任何人都能用任意编程语言解决的实用项目清单
A list of practical projects that anyone can solve in any programming language
2017 — 2018,它一次次回到首页
黑点是上首页(≥ 50 分)的那次投稿,空心点是没冲上去的投稿,点越大分数越高。
导读
这是 Karan Goel 在 GitHub 上维护的编程练习项目清单,按数字、文本、网络、类、线程、Web、文件、数据库、图形、安全等分类,列出可用任意编程语言实现的小项目。它常被用作学习新语言或课程作业的题目来源。评论者也指出,其中一些任务并不简单,而且“任意语言”并非对所有项目都成立。
为什么经久不衰:项目式学习永不过时:这份清单范围广、门槛可调,既能当新语言练手题,也能给教学提供现成作业灵感,所以多年后仍被反复翻出。
HN 评论精选
有读者指出,像 SQL 查询分析器这种任务如果要求给出非平凡优化建议,其实相当有难度。
如果“寻找更高效写法”指的是给出非平凡建议(而不是“多加索引”),那这项任务并不简单。
gruez查看英文原文
>SQL Query Analyzer - A utility application which a user can enter a query and have it run against a local database and look for ways to make it more efficient. Non-trivial if "look for ways to make it more efficient" means non-trivial suggestions (ie. not "add moar indexes").
一位教师把它当作数据结构课的实践作业题目来源。
谢谢分享。我正在为今年秋天要教的数据结构课准备材料。理论部分已经有了,但我一直在找适合做实践作业的题目——规模合理、能做出来,又不要太生硬。
thearn4查看英文原文
Thanks for sharing. I'm putting together materials for a course on data structures that I'm teaching this fall. I have the theory part covered, but I'm always on the lookout for things that could make for decent practical assignment problems - reasonably attainable in scope, but without being too contrived.
有评论质疑“任何人都能完成”的说法,认为不少项目只是重复现成工具,做真正新的东西更有动力。
我不仅怀疑“任何人”都能写出这些程序,而且它们大多看起来并不特别有趣或好玩。许多(甚至所有)非数学类项目只是在复制现成的工具;重复造轮子有什么意义?就算你想用新语言练手,做点真正新的东西似乎更有用、更有动力。
mrsuprawsm查看英文原文
Not only do I doubt that "anyone" can write these programs, most of them do not look particularly interesting or fun. Many if not all of the non-mathematical ones are simply replicating off-the-shelf utilities or tools; what is the point of reinventing the wheel? Even if you are looking to hone your skills in a new language, creating something genuinely new seems like it would be more useful and motivational.
有评论指出“任意编程语言”并非完全成立:GUI、Web 和面向对象相关题目会限制语言选择。
这份清单挺有意思,但我不确定“任何编程语言”这一点站得住脚。有些程序需要 GUI;有些则因为措辞,你得眯着眼想怎么放进某些语言里(比如类和抽象类)。涉及 Web 的项目很难避开 JavaScript。
sethammons查看英文原文
Fun enough list. I'm not sure the "any programming language" part holds up. Some of these programs require a GUI element. Others, you have to squint at to see how you would put into some languages due to the wording (cough, class and abstract class, cough). The web ones, it will be hard to avoid JavaScript.
历次讨论
同类还值得读
开源应用架构
The Architecture of Open Source Applications
《开源软件架构》(AOSA)是一本在线免费书,邀请知名开源项目的作者亲自剖析其内部设计,涵盖 SQLAlchemy、LLVM、Audacity、Apache、Bash 等系统。
编程与软件工程上首页 9 次 · 2011–2024aosabook.org编辑精选编程语言简史:简短、不完整且多半错误
A Brief, Incomplete, and Mostly Wrong History of Programming Languages
一篇以戏谑、故意不准确的方式回顾编程语言史的博客文章,用夸张轶事和讽刺定义串起 Lisp、C、C++、Java、JavaScript、PHP 等语言。
编程与软件工程上首页 8 次 · 2009–2021james-iry.blogspot.comSQLite 是如何测试的
How SQLite is tested
SQLite 官方文档页,系统介绍 SQLite 的测试体系:多种测试方法(TCL 测试、模糊测试、回归测试、静态分析等)和海量测试用例,展示了这个小型开源项目如何靠极致测试获得…
编程与软件工程上首页 8 次 · 2009–2025sqlite.org编辑精选高级编程语言(2009)
Advanced programming languages (2009)
Matt Might 的经典文章,按用途推荐“高级编程语言”:如果追求就业就选主流语言,如果追求表达力、学术研究或创业,则推荐 Haskell、OCaml、Scala 等函数式语…
编程与软件工程上首页 8 次 · 2009–2022matt.might.net我的 Forth 与栈机器经历
Yosefk - My history with Forth & stack machines
作者以亲身经历回顾了使用 Forth 语言和栈式机器的历程:既赞叹其简洁优雅、代码量小、可自举的优点,也坦率指出栈操作在实际编程中的痛苦,以及 Forth 社区文化中的问题。
编程与软件工程上首页 8 次 · 2010–2024yosefk.com编辑精选