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.

Programming Idioms

49 pointsby decentralisedabout 5 years ago

8 comments

hazboabout 5 years ago
Previous discussion: <a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=21080606" rel="nofollow">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=21080606</a>
评论 #23017542 未加载
natmakaabout 5 years ago
See also <a href="http:&#x2F;&#x2F;www.rosettacode.org&#x2F;wiki&#x2F;Rosetta_Code" rel="nofollow">http:&#x2F;&#x2F;www.rosettacode.org&#x2F;wiki&#x2F;Rosetta_Code</a>
saagarjhaabout 5 years ago
These kinds of collections can be nice, but I think it’s fair to warn against looking at them <i>too</i> closely. Sometimes they’re not actually idiomatic and often the implementations have differences in them that see non-obvious.
评论 #23017131 未加载
LandRabout 5 years ago
The clojure one to reverse a string makes it a sequence of characters, then reverses that sequence and puts it back together again as a string..<p>Why not jsut:<p><pre><code> (require &#x27;[clojure.string :as str]) (let [s &quot;hello&quot;] (str&#x2F;reverse s)) =&gt; &quot;olleh&quot; </code></pre> Reversing a string is in the core library...
评论 #23017188 未加载
评论 #23017222 未加载
jzer0coolabout 5 years ago
This is a nice to have all in 1 place.<p>This improves time when learning 1 language to another. I could get lost spending time here advancing what I already know (or don&#x27;t know) and enjoy the format of the content here.<p>What was your process like in going about getting the original content for the various languages? Are you you somewhat familiar with all these languages and how to the curators go about accepting (or denying) a new submission.
评论 #23017407 未加载
KnobbleMcKneesabout 5 years ago
This is really cool and seems pretty up-to-date ... which leaves me surprised that Obj-C is present but Swift isn&#x27;t. (Even moreso considering that both Java and Kotlin are present).
评论 #23017341 未加载
kashfiabout 5 years ago
Thanks for sharing.
junkeabout 5 years ago
<p><pre><code> Sorry, [Common Lisp] is currently not a supported language. </code></pre> New time sink avoided.
评论 #23017211 未加载