将其命名为(二维、类似逻辑表、可视化)编程语言/范式(潜文本/以示例为中心的编程)
我记得偶然发现一个视频剪辑,介绍了一种新的编程“语言”和范例。 “语言”本质上是 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 0
和 I >= 0
。一个将两者连接到O
,其中一个通过neg
函数并获得绝对值函数。
关键是失踪的案件可以立即通过视觉识别;定义两种情况 x < 0
和 x > 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 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
也许您正在谈论Subtext?
Perhaps you are talking about Subtext?
呃呃,这是Logo吗?这就是我想到的一切。
Uhhhh, is it Logo? That is all that springs to mind.