什么编程语言最像英语? [英] What programming language is the most English-like?

查看:39
本文介绍了什么编程语言最像英语?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我主要是一个 Python 程序员,它经常被描述为可执行的伪代码".我用过一点 AppleScript,它似乎是我见过的最像英语的编程语言,因为几乎运算符都可以是单词,它可以让你在任何地方使用the"(例如,我刚刚的这个愚蠢的例子想出了:

I'm mainly a Python programmer, and it is often described as being "executable pseudo-code". I have used a little bit of AppleScript, which seems to be the most English-like programming language I have ever seen, because almost operators can be words, and it lets you use "the" anywhere (for example, this stupid example I just came up with:

set the firstnumber to 1
set the secondnumber to 2
if the firstnumber is equal to the secondnumber then 
    set the sum to 5
end if

是有效的 AppleScript 程序.还有比这些更像英文的编程语言吗?

is a valid AppleScript program. Are there any programming languages that are even more English-like than these?

推荐答案

在查看所有答案后,我确信 AppleScript 实际上是最自然的语言.

After reviewing all the answers, I'm convinced that AppleScript actually is the most natural language like.

这篇关于什么编程语言最像英语?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆