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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

Fascinating Programming Language Comparison

3 点作者 horrido超过 7 年前

1 comment

sparkie超过 7 年前
<p><pre><code> &#x2F;&#x2F; In a language I&#x27;m not used to, the for loop is quite strange-looking. *&#x2F; &lt;- (what&#x27;s this for?) for (int i = 10; i &lt;= 200; i += 5) { z += i; printf(&quot;i is %i\n&quot;, i); } &quot;In my favorite language, the for loop is quite readable.&quot; (10 to: 200 by: 5) do: [ :i | z := z + i. Transcript show: &#x27;i is &#x27;,i printString;cr ].</code></pre>