+ 2

In programming what if the high level languages are further developed into an easily understandable English language?

13th Jun 2017, 3:20 PM
Himagaran
Himagaran - avatar
2 odpowiedzi
+ 4
The programs would likely run slower. Need to translate everything somehow. For something that is directly English there would also need to be a massive range of syntax defined, such as: "create a variable called x with a value of 42". All of those words need to mean something to the compiler. Unless certain words can be ignored, such as: 'a', 'with', and 'of'. 'create' could be ignored if we want the user to already know hes creating the variable by writing variable. For the same reason 'called' can also be ignored. variable could just be short for var. We could also replace equals with =, they mean the same thing and then we can use equals to mean something slightly different. Whao, we just got: var x = 42 Strange, that's just Javascript. Straight up English doesn't seem practical to me. Although, There could be slight changes to make things slightly more and more high level. If they are changed to be slightly more like English, I guess the language would just be easier to understand at first. Kinda like Python. That's really it though, unless somehow they make it practical everything will still stay similar to current high level languages. *There's probably some languages made for teaching kids programming that are very close to English.*
13th Jun 2017, 5:35 PM
Rrestoring faith
Rrestoring faith - avatar
+ 1
Programming languages are already understandable(At least the non-esoteric ones), and it would make a huge unnecessary change to have them go into English, remember that other countries program too and it would take a lot of time to make a programming language support multiple national languages. It wouldn't be as easy for programmers with weak English skills code in a programming language that didn't support theirs.
13th Jun 2017, 8:39 PM
Ajay Gonzalez
Ajay Gonzalez - avatar