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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

Ask HN: Which Opens Source Software have the sexiest code?

8 点作者 milkoolong大约 1 个月前
I heard reading well-written code can improve my skills. Instead of reading top-rated projects on GitHub, which I do, I thought to ask the community to share their favorite OSS they believe to have examplary code.

8 条评论

0xCE0大约 1 个月前
Many Freedesktop-projects have very beautiful&#x2F;elegant&#x2F;professional&#x2F;clear C code, e.g.: <a href="https:&#x2F;&#x2F;gitlab.freedesktop.org&#x2F;mesa&#x2F;mesa&#x2F;-&#x2F;blob&#x2F;main&#x2F;src&#x2F;amd&#x2F;vulkan&#x2F;radv_image.c" rel="nofollow">https:&#x2F;&#x2F;gitlab.freedesktop.org&#x2F;mesa&#x2F;mesa&#x2F;-&#x2F;blob&#x2F;main&#x2F;src&#x2F;amd...</a><p>Also Blender, Chrome, FFmpeg, LLVM are examples for large and long scale projects codebases, that are almost like old vs. new brain, meaning there are old low-level codelines and on top of those cumulates all kinds of abstractions.<p>Geohot&#x27;s tinygrad is great example of booting up codebase from scratch: set conscious goal for small max lines of code (e.g. 1k), then code the next state of working implementation, then clean and refactor it to cut the fat off. It feels that code wants to shape to specific form and size depending on goal.
markus_zhang大约 1 个月前
Linux? I don&#x27;t understand anything about it so it&#x27;s sexy. Like girls, I never understood them.
评论 #43599684 未加载
palata大约 1 个月前
In C++, I find Cap&#x27;n Proto very impressive: <a href="https:&#x2F;&#x2F;github.com&#x2F;capnproto&#x2F;capnproto">https:&#x2F;&#x2F;github.com&#x2F;capnproto&#x2F;capnproto</a>
bjourne大约 1 个月前
Anything created by the Pallets team: <a href="https:&#x2F;&#x2F;github.com&#x2F;pallets">https:&#x2F;&#x2F;github.com&#x2F;pallets</a>
BobbyTables2大约 1 个月前
All OSS code is exemplary.<p>Of course, some of it fits one meaning of the word and some fits the other meaning.
cpach大约 1 个月前
Is well-written code “sexy”? I’m not so sure about that.
hiAndrewQuinn大约 1 个月前
OpenBSD
jlcases大约 1 个月前
Code readability is directly related to the quality of its contextual documentation. I&#x27;ve been experimenting with documentation following MECE principles, which has greatly improved the maintainability of my projects.