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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

Ask HN: What are some interesting programming language “features”

2 点作者 aspl大约 10 年前
Title says it all, what are some interesting concepts, features, etc. in programming? From anything to popular languages like Haskell and C, to less popular or experimental/research languages, what are some interesting features? Examples of use, etc would be great too! :)

2 条评论

saidajigumi大约 10 年前
While there are certainly many interesting &quot;features&quot; in the broad sea of programming languages, a risk of enumerating them is that of missing the forest for the trees. More concretely, the things which make certain PLs really, truly great tend to be <i>gestalt</i> &quot;features&quot; that arise from well-designed (or just lucky) combinations of traditional features. For example, both Ruby and Python could be checklisted into appearing <i>very</i> similar on a feature basis. But I&#x27;ll argue that DSLs are more easily designed and implemented in Ruby, stemming from the details and combinations of its features. Related, Haskell is reknowned for being &quot;DSL friendly&quot;, but due to completely different interactions of its features as compared to Ruby.
hackerboos大约 10 年前
Erlang&#x2F;Elixir - lightweight processes, pattern matching, flexible macro system