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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

Ask HN: What would an OOP-style human language look like?

2 点作者 avancemos大约 5 年前

3 条评论

dvndvn大约 5 年前
For parametrically constructed language according to Noam Chomsky, Sanskrit was best constructed. Chomsky&#x27;s work of language theory has inspired many compiler designs in early programming. He favored particularly Sanskrit grammarian called &#x27;Panini&#x27; and his 500AD work called &#x27;Ashtadyayi&#x27;<p>There was a huge discussion about 8 years back on HN itself.<p><a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=4729626" rel="nofollow">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=4729626</a>
AnimalMuppet大约 5 年前
To me, variable.method(argument) looks a lot like &quot;subject verb object&quot;.
_bxg1大约 5 年前
Human language is already pretty OOP; I think that&#x27;s a big part of the latter&#x27;s appeal. We speak in terms of categories, objects, and subject-verb-object clauses.