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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

Creator of Zig asked "how to open a file in C++" in SO 15 years ago

11 点作者 agomez31410 个月前

9 条评论

fallingsquirrel10 个月前
Misleading.<p><a href="https:&#x2F;&#x2F;andrewkelley.me&#x2F;post&#x2F;goodbye-twitter-reddit.html" rel="nofollow">https:&#x2F;&#x2F;andrewkelley.me&#x2F;post&#x2F;goodbye-twitter-reddit.html</a><p>&gt; I enthusiastically participated in the launch of Stack Overflow, including asking basic questions such as &quot;How do you open a file in C++?&quot; in order to farm karma points.
davidkunz10 个月前
The title is a bit misleading and readers might think he didn&#x27;t know how to open files in C++. This is not the case, see <a href="https:&#x2F;&#x2F;x.com&#x2F;Deor&#x2F;status&#x2F;1815563936671867315" rel="nofollow">https:&#x2F;&#x2F;x.com&#x2F;Deor&#x2F;status&#x2F;1815563936671867315</a>
zamadatix10 个月前
I feel a bit bait and switched considering this title was posted after the original poster self proclaimed they found it to be misleading. At least some initial comments here aren&#x27;t catching that follow up either.
fp6410 个月前
I don&#x27;t get it. 15 years is quite a while, if I think back what my own experience was then compared to now it&#x27;s also quite a significant improvement. Also `std::ifstream` and `operator&lt;&lt;` is, in my humble opinion, stupid. If you make a story out of the fact that this lead to something in Andrew&#x27;s philosophy, it might be an interesting post, but this I find just silly and borderline creepy.<p>EDIT: ah misleading title and post altogether, makes it even worse. Should farm some karma here so I can downvote
ochronus10 个月前
Even if he didn&#x27;t know how to do it, it&#x27;d only be proof that people grow :)
crabsand10 个月前
... and he didn&#x27;t like the answer and went ahead to create Zig. :)<p>I know it&#x27;s misleading but you can learn anything in 10-15 years anyway. Why is this a thing, I don&#x27;t know :)
sim7c0010 个月前
classic :D since Zig first appeared ~8 years ago (wikipedia), if that question reflects his abilities at the time he really soared in ability quickly :D
评论 #41056993 未加载
评论 #41056952 未加载
giancarlostoro10 个月前
Honestly whether he was farming karma or genuinely asking, its still fun to look back through other developers history.
impure10 个月前
I’m surprised he wasn’t downvoted for asking that.