I was thinking.
What if they just made code in plain English?
Something like:
Make a variable with the values apple, orange and pear
Go over each item in the list of variable and store the values as storage.
Add storage to each line and then the value of variable then store it as result variable
Print result
result:
1apple2orange3pear
Well maybe I'm wrong but you get the idea. Make it verbose but in plain English.
And instead of Camecase, I'd use periods or something.
Would it be possible?
Thalidomide Vintage Ad Shirt $22.14 |
it turns out it is much easier to understand a well defined, simple syntax with some symbols than it is to understand the nuance of the english language
just hook in a voice recognition system into copilot
No i mean the point would be to make an english interpreted language
>english interpreted
How do you interpret an undefined, ambiguous language?
Well youd have to type tge right words not just whatever you want.
But applescript seems close enough.
That's what python is for
imagine having to read a fricking novel everytime you want to re-remember what a function you wrote does.
I'm gonna fricking order KFC and there's nothing you can do to stop me
Imagine being a mutt and having a language
>without inflections, grammatical genders, verbs are usually in the dictionary/inpersonal form, no cases, levels of politeness, alphabet is the most vanilla latin alphabet of all european languages, no tonal/singing/weird drunk whispering sounds or pronunciation
And still having problems understanding programming languages which are simplified even further
Grammatical genders are the dumbest thing ever. Like no, my chair does not have a dick. It's a chair.
Yeah but also you don't get gendered inflections for verbs, like he eats is the same as she eats. In most languages the subject is included in verb making it better and faster
Already exists. Didn't really catch on though.
https://en.wikipedia.org/wiki/AppleScript
https://en.wikipedia.org/wiki/Natural-language_programming
What if we just taught all children to speak machine language from birth?
What system?
I dont know the details but machine code and assembly are very picky.
Each architecture has its own instruction set.
I find it kind of confusing that most people talk about x86 assembly when refering to assembly though. Shouldnt it be x64 assembly or something?
Anyways when i say interpreted language i mean language to C ofcourse. You know like python.
Yes. Good luck interacting with API and implementing authentication with for even Webdev shit
Algol-60 is basically pseudo-code that compiles. The only reason curly-bracket languages exist is because the terminals at Bell Labs and elsewhere updated the screen at a rate of 10 words a minute, so it was more efficient to type "{" and "}" instead of "begin" and "end."
>Would it be possible?
Yeah, this was pretty much exactly how programming started out in the '60s, but if you've ever tried reading something like COBOL you'll see the shortcomings. Natural language is full of bullshit computers and even humans don't care about that just gets in the way, plus it makes it harder to structure and navigate.