七种原始编程语言
The seven programming ur-languages (2022)

原始链接: https://madhadron.com/programming/seven_ur_languages.html

## 编程的七种原始语言 许多初学者在选择第一门编程语言时感到困惑,但作者认为重要的是*开始*,而不是*选择哪一门*语言。 语言共享基本模式——循环、条件语句——这些适用于大多数语言。 然而,语言会聚集到七种不同的“原始语言”中,每种语言都有独特的问题解决方式,并且需要不同的神经通路才能掌握。 这七种原始语言是:**ALGOL**(最常见,包括C、Java、Python)、**Lisp**、**ML**、**Self**、**Forth**、**APL**和**Prolog**。 学习一种熟悉的原始语言中的语言很容易; 切换到新的原始语言则需要很大的努力。 作者建议首先掌握**ALGOL**家族中的一种语言,然后学习**SQL**(来自**Prolog**家族),因为它具有实际益处。 除此之外,每年探索来自其他原始语言的语言可以扩展你的问题解决工具集。 建议的语言包括Racket (Lisp)、Haskell (ML)、Self、Prolog、gForth (Forth) 和 K (APL),但具体选择哪个家族的语言不如接触不同的范式重要。

黑客新闻 新的 | 过去的 | 评论 | 提问 | 展示 | 工作 | 提交 登录 七种编程原始语言 (madhadron.com) 14 分,由 helloplanets 发表于 3 小时前 | 隐藏 | 过去的 | 收藏 | 1 条评论 帮助 tagfowufe 发表于 11 分钟前 | 上一个 [–] 我更倾向于使用 _cognate_[0]。'基本编程同源词'听起来像一门大学课程。[0] https://en.wiktionary.org/wiki/cognate 回复 指南 | 常见问题 | 列表 | API | 安全 | 法律 | 申请 YC | 联系 搜索:
相关文章

原文

I regularly hear people asking which programming language to learn, and then reeling off a list of very similar languages (“Should I learn Java, C#, C++, Python, or Ruby?”). In response I usually tell them that it doesn’t really matter, as long as they get started. There are fundamentals behind them.

What do I mean when I say fundamentals? If you have an array or list of items and you’re going to loop over it, that is the same in any imperative language. There is straightforward iteration

free course.

Then, once you’ve got these two, it’s worth branching out. Learning a new language that traces to an unfamiliar ur-language each year will pay dividends. The languages I would suggest today in each of these families, and maybe in this order, are:

  • Lisp: PLT Racket
  • ML: Haskell
  • Self: Self
  • Prolog: Prolog
  • Forth: gForth
  • APL: K (via ok)

If you do a lot of numerical work, learn K earlier. If you do lots of embedded programming, learn gForth earlier. But the order is not important, nor is the exact language. You could learn Standard ML or OCaml instead of Haskell, Common Lisp instead of PLT Racket, and Factor instead of gForth with absolute impunity. These are not-wrong suggestions as opposed to perfect answers.

Mentioned in Writing programs

联系我们 contact @ memedata.com