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.

Fascinating Programming Language Comparison

3 pointsby horridoover 7 years ago

1 comment

sparkieover 7 years ago
<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>