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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

What is the name of this operator: “--”?

8 点作者 QuarkSpark超过 12 年前

5 条评论

rwolf超过 12 年前
The title is missing a >. Should be "-->"
评论 #4686548 未加载
The_Egg_Man超过 12 年前
Could someone break this down and explain it to me? [1] It looks hilariously atrocious yet interesting at the same time.<p>[1]: <a href="http://stackoverflow.com/questions/1642028/what-is-the-name-of-this-operator/2860927#2860927" rel="nofollow">http://stackoverflow.com/questions/1642028/what-is-the-name-...</a>
评论 #4686537 未加载
评论 #4686487 未加载
评论 #4686497 未加载
antihero超过 12 年前
From the thread:<p><pre><code> while (x --\ \ \ \ &#62; 0) printf("%d ", x); </code></pre> That's fantastic!
sukuriant超过 12 年前
This looks mostly like a function that sacrificed readability for brevity, to the detriment of at least one reader.
halis超过 12 年前
Decrement x = x -1