Discuss Scratch
- Discussion Forums
- » Advanced Topics
- » why isn't every programming language easy to learn
- __Falcon-Games__
-
1000+ posts
why isn't every programming language easy to learn
It isn't worse, I put a lot of consideration into this idea and I think it's good. Why do you think it's worse?congratulations you just made functional programming but worse Here we'll navigating through the flow of array to the add function. This is part of the scope flow shortened to scope which contains the entirety of our objects and their attributes in a flow.
There's also another flow which is the instruction flow, we flow through different parts of our program.
For example when in a function we return like in series, we push the return value onto the flow which the assignment operator can assign to a value. Actually all the assignment operator does is create an item in the scope with program flow. It's a way to attach a value that is not stored anywhere right now to a part of the scope.
Last edited by __Falcon-Games__ (Sept. 18, 2023 06:48:44)
- rdococ
-
1000+ posts
why isn't every programming language easy to learn
Oops, thought it was on the front page.don't retropost, this died in early february of last year Syntax is the least important part of a programming language. You'll get over it with time.
I'm not sure what you mean by the flow, but there are some interesting design decisions in there. Is there a difference between the “x.add(2)” dot and “array->add(i)” arrow syntax? -snip-
Last edited by rdococ (Sept. 18, 2023 15:28:43)
- __Falcon-Games__
-
1000+ posts
why isn't every programming language easy to learn
Oh sorry that was a mistake on my part. It was supposed to be x->add(2).I'm not sure what you mean by the flow, but there are some interesting design decisions in there. Is there a difference between the “x.add(2)” dot and “array->add(i)” arrow syntax? -snip-
I choose the -> operator since it felt like we're moving through which reflects on the flow idea.
- davidtheplatform
-
500+ posts
why isn't every programming language easy to learn
So can you nest loops?It's a special variable that is used for iterators every time you are in a loop.Is “i” a globally scoped variable? Would be nice to have a name for the iterated itemfun series(nth) {
def array = []
repeat (nth) {
array->add(i)
}
--> array
}
- __Falcon-Games__
-
1000+ posts
why isn't every programming language easy to learn
Well when you use a variable it looks in the current scope so it will look in your loop scope so yes, if your in a nested loop the i would refer to the nested loop's iteration level and if your in the parent loop the i would refer to the parent loop's iteration level.So can you nest loops?It's a special variable that is used for iterators every time you are in a loop.Is “i” a globally scoped variable? Would be nice to have a name for the iterated itemfun series(nth) {
def array = []
repeat (nth) {
array->add(i)
}
--> array
}
Last edited by __Falcon-Games__ (Sept. 18, 2023 16:51:13)
- davidtheplatform
-
500+ posts
why isn't every programming language easy to learn
What if I want to do something like this:
for (int x = 0; x < 5; x++) { for (int y = 0; y < 5; y++) { printf("x * y is %d", x * y); } }
- __Falcon-Games__
-
1000+ posts
why isn't every programming language easy to learn
Huh, well you could do this. What if I want to do something like this:for (int x = 0; x < 5; x++) { for (int y = 0; y < 5; y++) { printf("x * y is %d", x * y); } }
repeat (5) {
x = i
repeat (5) {
y = i
printf("x * y is {0}", [x * y])
}
}
- bigspeedfpv
-
500+ posts
why isn't every programming language easy to learn
there's no like actual backing to itIt isn't worse, I put a lot of consideration into this idea and I think it's good. Why do you think it's worse? congratulations you just made functional programming but worse
how would you for example write a string parser?
- davidtheplatform
-
500+ posts
why isn't every programming language easy to learn
Do you have a working compiler for this? If so that would be pretty coolHuh, well you could do this. What if I want to do something like this:for (int x = 0; x < 5; x++) { for (int y = 0; y < 5; y++) { printf("x * y is %d", x * y); } }Notice: Couldn't send it before because Scratch's servers went down.repeat (5) {
x = i
repeat (5) {
y = i
printf("x * y is {0}", [x * y])
}
}
For the loops, i would do this:
repeat (x=0..5) { whatever; }
- __Falcon-Games__
-
1000+ posts
why isn't every programming language easy to learn
there's no like actual backing to itIt isn't worse, I put a lot of consideration into this idea and I think it's good. Why do you think it's worse? congratulations you just made functional programming but worse
how would you for example write a string parser?
Do you have a working compiler for this? If so that would be pretty coolHuh, well you could do this. What if I want to do something like this:for (int x = 0; x < 5; x++) { for (int y = 0; y < 5; y++) { printf("x * y is %d", x * y); } }Notice: Couldn't send it before because Scratch's servers went down.repeat (5) {
x = i
repeat (5) {
y = i
printf("x * y is {0}", [x * y])
}
}
For the loops, i would do this:So then you get to choose the variable namerepeat (x=0..5) { whatever; }
I am working on a compiler. Also good idea.
- DifferentDance8
-
1000+ posts
why isn't every programming language easy to learn
The hypotehtical easiest language to learn would be an entirely NLP-based one, but since that doesn't exist at this current moment…
- __Falcon-Games__
-
1000+ posts
why isn't every programming language easy to learn
Please someone help me, I just added meshing to my lexer and now it doesn't work.
- ajskateboarder
-
1000+ posts
why isn't every programming language easy to learn
Didn't you make one of those? The hypotehtical easiest language to learn would be an entirely NLP-based one, but since that doesn't exist at this current moment…
- rdococ
-
1000+ posts
why isn't every programming language easy to learn
Say this to ChatGPT: The hypotehtical easiest language to learn would be an entirely NLP-based one, but since that doesn't exist at this current moment…
Roleplay as a programming language that compiles everything I write into python code. Respond with the code and only the code itself, with no expository text.Bam, an NLP-based programming language.

Last edited by rdococ (Sept. 20, 2023 14:28:35)
- __Falcon-Games__
-
1000+ posts
why isn't every programming language easy to learn
Give it a name and docs, and you have just created a programming language transpiler!Say this to ChatGPT: The hypotehtical easiest language to learn would be an entirely NLP-based one, but since that doesn't exist at this current moment…Roleplay as a programming language that compiles everything I write into python code. Respond with the code and only the code itself, with no expository text.Bam, an NLP-based programming language.
- TheSecondGilbert
-
100+ posts
why isn't every programming language easy to learn
Bonus points if it doesn't use any type of neural networks. The hypotehtical easiest language to learn would be an entirely NLP-based one, but since that doesn't exist at this current moment…
Last edited by TheSecondGilbert (Sept. 21, 2023 08:29:54)
- TheSecondGilbert
-
100+ posts
why isn't every programming language easy to learn
(oops, double posted)
Last edited by TheSecondGilbert (Sept. 21, 2023 08:29:40)
- DifferentDance8
-
1000+ posts
why isn't every programming language easy to learn
Yeah, but it was kinda hard to use.Didn't you make one of those? The hypotehtical easiest language to learn would be an entirely NLP-based one, but since that doesn't exist at this current moment…
- -Cubism007-
-
500+ posts
why isn't every programming language easy to learn
Depends on how you're going to use them… its so hard
In fact, here's some important advice: If you don't know programming, inspect people's codes to learn more…
“AhHh, This is SkId” DON'T CARE IF IT'S A SKID, in fact, we all started in programming being skidders (in fact, no one is born knowing

- ajskateboarder
-
1000+ posts
why isn't every programming language easy to learn
I don't think a single person has called programmers who learn from other people's code “skids” except for Terry Davis, maybe In fact, here's some important advice: If you don't know programming, inspect people's codes to learn more…
“AhHh, This is SkId” DON'T CARE IF IT'S A SKID, in fact, we all started in programming being skidders (in fact, no one is born knowing)
- Discussion Forums
- » Advanced Topics
-
» why isn't every programming language easy to learn