将其命名为(二维、类似逻辑表、可视化)编程语言/范式(潜文本/以示例为中心的编程)

发布于 2024-10-10 10:55:39 字数 1074 浏览 4 评论 0原文

我记得偶然发现一个视频剪辑,介绍了一种新的编程“语言”和范例。 “语言”本质上是 2D 和视觉的,因此与视频中的 IDE 和解释器紧密结合。

它一开始就像一个真值表,但后来变得更加复杂。条件用程序的 X 轴表示,流程用 Y 轴表示。

例如,要构建一个“绝对值”函数,定义一个输入和输出,我们将它们称为整数 I 和整数 O。单击 I 允许定义一个子案例,例如 I I I I I I I I I (常量)。然后输入 0 作为常量,I 列分为两部分:I I I I I I I I 0I >= 0。一个将两者连接到O,其中一个通过neg函数并获得绝对值函数。

关键是失踪的案件可以立即通过视觉识别;定义两种情况 x < 0x > 0 立即将 x 列分成三部分,如果您忘记将 x = 0 情况连接到输出,那将是显而易见的。

这是我尽可能简短的,同时仍然为人们提供足够的信息来识别和/或对这种语言感兴趣,所以我将在这里剪掉它。它可能看起来只解决了一些与条件和逻辑有关的特定问题,但我记得“语言”足够强大,足以成为它自己的范例。

该视频还提出了一些很好的观点,说明现代编程与 50 多年前的编程并没有太大区别,即在电传打字机上输入文本(基本上是一维的)。

问题:语言/范式/IDE/解释器的名称是什么?

我主要是想找[名字]再看看这个视频,这样我就可以和我现在的同事讨论一下。如果您还有更多话要说,我们可以将这个问题转为社区 wiki 并开始讨论。

I remember stumbling upon a video clip introducing a new programming "language" and a paradigm. The "language" was 2D and visual in nature, and therefore tightly coupled with its IDE and interpreter in the video.

It started out like a truth table but got more complicated. Conditionals were represented in the X axis and the flow in the Y axis of the program.

For example, to build an "absolute value" function, one defined inputs and outputs, let's call them integer I and integer O. Clicking on I allowed one to define a subcase, say I < (const). One then entered 0 as the constant and the I column split into two: I < 0 and I >= 0. One connected both to O, one of them through a neg function and got the absolute value function.

The point was that missing cases were immediately and visually identifiable; defining two cases x < 0 and x > 0 immediately split the x column into three and if you forgot to connect the x = 0 case to the output, it would be obvious.

This is about as brief as I can be while still supplying enough information for people to identify and/or get interested about the language, so I'll cut it here. It may look like it only solves some specific problems to do with conditionals and logic, but I remember the "language" being strong enough to be a paradigm on its own.

The video also made some good points about how modern programming wasn't that much different from what it was some 50+ years ago, i.e. typing text, which is fundamentally 1-D, on a teletype.

Question: What's the name of the language/paradigm/IDE/interpreter?

I'm mainly looking [for the name] to find and watch the video again, so I can discuss it with my current colleagues. If you have more to say about it, we can turn this question into a community wiki and start discussing.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

油焖大侠 2024-10-17 10:55:39

也许您正在谈论Subtext

替代文本

Perhaps you are talking about Subtext?

alt text

夏见 2024-10-17 10:55:39

呃呃,这是Logo吗?这就是我想到的一切。

Uhhhh, is it Logo? That is all that springs to mind.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文