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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

C Right-Left Rule

6 点作者 allending超过 4 年前

2 条评论

Doxin超过 4 年前
One of the best quality of life fixes D has over C (and by extensions C++) is getting rid of this complexity. In D you can simply go right-to-left. So instead of having<p><pre><code> char *str[10]; </code></pre> you&#x27;d have<p><pre><code> char*[10] str; </code></pre> which when read right-to-left trivially results in &quot;str is a array 10 of pointer to char&quot;
lupire超过 4 年前
More readable version with ascok art, as the spiral rule:<p><a href="http:&#x2F;&#x2F;c-faq.com&#x2F;decl&#x2F;spiral.anderson.html" rel="nofollow">http:&#x2F;&#x2F;c-faq.com&#x2F;decl&#x2F;spiral.anderson.html</a>