TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

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

8 pointsby QuarkSparkover 12 years ago

5 comments

rwolfover 12 years ago
The title is missing a >. Should be "-->"
评论 #4686548 未加载
The_Egg_Manover 12 years ago
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 未加载
antiheroover 12 years ago
From the thread:<p><pre><code> while (x --\ \ \ \ &#62; 0) printf("%d ", x); </code></pre> That's fantastic!
sukuriantover 12 years ago
This looks mostly like a function that sacrificed readability for brevity, to the detriment of at least one reader.
halisover 12 years ago
Decrement x = x -1