Discuss Scratch

Socialix
Scratcher
1000+ posts

why isn't every programming language easy to learn

its so hard
BarelySmooth
Scratcher
1000+ posts

why isn't every programming language easy to learn

No programming language is hard to learn. It just takes some effort. While programming languages like C++ can seem complicated, it just requires some dedication. Also, languages like C++/Java have some slightly complicated concepts. But as long as you stick to a good learning/reference source, you should be able to learn them.

Also, instead of starting with a language like C++, try an easier language like Python. Once you get started on it and make some progress, you won't regret it.
Socialix
Scratcher
1000+ posts

why isn't every programming language easy to learn

PUNNAMOODU wrote:

No programming language is hard to learn. It just takes some effort. While programming languages like C++ can seem complicated, it just requires some dedication. Also, languages like C++/Java have some slightly complicated concepts. But as long as you stick to a good learning/reference source, you should be able to learn them.

Also, instead of starting with a language like C++, try an easier language like Python. Once you get started on it and make some progress, you won't regret it.
i know most stuff on roblox lua but i dont know what module scripts and require is

yet python and javascript syntax is so bad
ScratchCatHELLO
Scratcher
1000+ posts

why isn't every programming language easy to learn

Socialix wrote:

PUNNAMOODU wrote:

No programming language is hard to learn. It just takes some effort. While programming languages like C++ can seem complicated, it just requires some dedication. Also, languages like C++/Java have some slightly complicated concepts. But as long as you stick to a good learning/reference source, you should be able to learn them.

Also, instead of starting with a language like C++, try an easier language like Python. Once you get started on it and make some progress, you won't regret it.
i know most stuff on roblox lua but i dont know what module scripts and require is

yet python and javascript syntax is so bad

why do you think python and javascript syntaxes are bad?
I guess I understand python syntax being weird (it requires indents to run), but what's wrong with javascript?
Socialix
Scratcher
1000+ posts

why isn't every programming language easy to learn

ScratchCatHELLO wrote:

Socialix wrote:

PUNNAMOODU wrote:

No programming language is hard to learn. It just takes some effort. While programming languages like C++ can seem complicated, it just requires some dedication. Also, languages like C++/Java have some slightly complicated concepts. But as long as you stick to a good learning/reference source, you should be able to learn them.

Also, instead of starting with a language like C++, try an easier language like Python. Once you get started on it and make some progress, you won't regret it.
i know most stuff on roblox lua but i dont know what module scripts and require is

yet python and javascript syntax is so bad

why do you think python and javascript syntaxes are bad?
I guess I understand python syntax being weird (it requires indents to run), but what's wrong with javascript?
() in if statements and semicolons all the time
Pufferfish_Test
Scratcher
500+ posts

why isn't every programming language easy to learn

Everything in this post is my own opinion, your opinions may differ

If a programming lqnguage is super easy to master at a specific level, it's probably not a very useful programming language at that level of mastery. Therefore, to really be able to program expressively and powerfully in an optimal way, you'll need to put a lot of time and effort into learning the language you're using.
Let's look at some examples, starting with a language you already know.

Example 1: Scratch
Scratch is fairly easy to master. Yes, there are some concepts that can be a bit challenging, but in the end it's designed for primary school students. So let's take a look at whether you can program expressively and powerfully in an optimal way in Scratch.
expressive: Scratch is actually fairly expressive. When you look at some scratch code, it's immediately understandable no matter what language you speak (as long as Scratch is available in that language :lol, however Scratch could be a lot more expressive, especially when you start nesting if-elses and referring to functions all over the place.
powerful: Scratch isn't very powerful. It's limited in what you can do, it'slimited to what yourbrowser can do and it doesn't have many features that are core to computer science.
optimal: Once again, Scratch fails miserably here. It's an interpreted language written in another interpreted language with a bunch of polyfills, capped at 30fps most of the time and slow to load.
So, whilst Scratch is easy to learn, it isn't a great language to learn if you want to program expressively and powerfully in an optimal way.

Example 2: JavaScript (or ECMAScript, or Livescript, or Mocha, or JScript, or whatever you want to call it)
JS is the language of the web. Supported by every modern browser, it's a dynamically typed language that uses a C-style syntax. At first it's quite easy to learn, but when you get into more complicated es6 stuff maybe, it can get fairly complicated abd difficult to learn, and there are soooo many apis to interact with the browser you find yourself constantly referring to some guide or another because you just don't know it. So let's take a look at whether you can program expressively and powerfully in an optimal way in JS.
expressive: I wouldn't say that JS is particularly expressive. When you're learning the basics, sure, it's incredible, but when you start playing around with Proxies, WeakMaps, Promises, callbacks etc. (and don't get me started on DOM) it all gets very messy very quickly.
powerful: JS is fairly powerful in my opinion; it gives you all the standard maths methods, gives you loads of string manipulation stuff, objects & arrays, BigInts, DOM and incredible async support. In addition, you canuse it on both the server and the client.
optimal: JS is really easy to optimise, and these days it's really fast in some browsers.
So JS is fairly difficult to master, but it is fairly expressive, very powerful and can be optimised easily.

I was going to give more examples but I got bored
gosoccerboy5
Scratcher
1000+ posts

why isn't every programming language easy to learn

Socialix wrote:

() in if statements and semicolons all the time
welcome to literally every language outside of the little bubble of python and lua
wvj
Scratcher
1000+ posts

why isn't every programming language easy to learn

Low-level languages are the most difficult
ScratchCatHELLO
Scratcher
1000+ posts

why isn't every programming language easy to learn

whenever you think javascript is hard, remember that there are people who code in assembly.
wvj
Scratcher
1000+ posts

why isn't every programming language easy to learn

ScratchCatHELLO wrote:

whenever you think javascript is hard, remember that there are people who code in assembly.
or malbolge
('&%:9]!~}|z2Vxwv-,POqponl$Hjig%eB@@>}=<M:9wv6WsU2T|nm-,jcL(I&%$#"
`CB]V?Tx<uVtT`Rpo3NlF.Jh++FdbCBA@?]!~|4XzyTT43Qsqq(Lnmkj"Fhg${z@>
will print “hello world”
Socialix
Scratcher
1000+ posts

why isn't every programming language easy to learn

ScratchCatHELLO wrote:

whenever you think javascript is hard, remember that there are people who code in assembly.
omg what is that

i would rather install iOS on my laptop and use that as my daily driver instead of coding in assembly
Socialix
Scratcher
1000+ posts

why isn't every programming language easy to learn

wvj wrote:

ScratchCatHELLO wrote:

whenever you think javascript is hard, remember that there are people who code in assembly.
or malbolge
('&%:9]!~}|z2Vxwv-,POqponl$Hjig%eB@@>}=<M:9wv6WsU2T|nm-,jcL(I&%$#"
`CB]V?Tx<uVtT`Rpo3NlF.Jh++FdbCBA@?]!~|4XzyTT43Qsqq(Lnmkj"Fhg${z@>
will print “hello world”
i dont wanna edit my post, thats literally minecraft enchantment table

why cant you type normally like
console.log("hello world");
instead of that

i cant believe people who use that, i would quit scratch if scratch used that instead of blocks
Maximouse
Scratcher
1000+ posts

why isn't every programming language easy to learn

Socialix wrote:

i cant believe people who use that, i would quit scratch if scratch used that instead of blocks
Malbolge is a programming language designed to be hard to use, so nobody uses it except for fun.
scratchieguy12345678
Scratcher
500+ posts

why isn't every programming language easy to learn

wvj wrote:

ScratchCatHELLO wrote:

whenever you think javascript is hard, remember that there are people who code in assembly.
or malbolge
('&%:9]!~}|z2Vxwv-,POqponl$Hjig%eB@@>}=<M:9wv6WsU2T|nm-,jcL(I&%$#"
`CB]V?Tx<uVtT`Rpo3NlF.Jh++FdbCBA@?]!~|4XzyTT43Qsqq(Lnmkj"Fhg${z@>
will print “hello world”

Hello world in COW:

MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO
MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO
MoO MoO Moo MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO Moo MoO MoO
MoO MoO MoO MoO MoO Moo Moo MoO MoO MoO Moo OOO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO
MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO Moo MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO
MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO
MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO
MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO Moo MOo
MOo MOo MOo MOo MOo MOo MOo MOo MOo MOo MOo MOo MOo MOo MOo MOo MOo MOo MOo MOo MOo MOo MOo MOo MOo MOo MOo MOo MOo MOo MOo MOo MOo MOo MOo
MOo MOo MOo MOo MOo Moo MOo MOo MOo MOo MOo MOo MOo MOo Moo MoO MoO MoO Moo MOo MOo MOo MOo MOo MOo Moo MOo MOo MOo MOo MOo MOo MOo MOo Moo
OOO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO Moo

Last edited by scratchieguy12345678 (May 5, 2021 18:34:27)

Socialix
Scratcher
1000+ posts

why isn't every programming language easy to learn

scratchieguy12345678 wrote:

wvj wrote:

ScratchCatHELLO wrote:

whenever you think javascript is hard, remember that there are people who code in assembly.
or malbolge
('&%:9]!~}|z2Vxwv-,POqponl$Hjig%eB@@>}=<M:9wv6WsU2T|nm-,jcL(I&%$#"
`CB]V?Tx<uVtT`Rpo3NlF.Jh++FdbCBA@?]!~|4XzyTT43Qsqq(Lnmkj"Fhg${z@>
will print “hello world”

Hello world in COW:

MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO
MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO
MoO MoO Moo MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO Moo MoO MoO
MoO MoO MoO MoO MoO Moo Moo MoO MoO MoO Moo OOO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO
MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO Moo MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO
MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO
MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO
MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO Moo MOo
MOo MOo MOo MOo MOo MOo MOo MOo MOo MOo MOo MOo MOo MOo MOo MOo MOo MOo MOo MOo MOo MOo MOo MOo MOo MOo MOo MOo MOo MOo MOo MOo MOo MOo MOo
MOo MOo MOo MOo MOo Moo MOo MOo MOo MOo MOo MOo MOo MOo Moo MoO MoO MoO Moo MOo MOo MOo MOo MOo MOo Moo MOo MOo MOo MOo MOo MOo MOo MOo Moo
OOO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO Moo
why is this programming language acting like a cow spamming “mooo!!!! give me some milk!!!!!” in the scratch forums
PikachuB2005
Scratcher
100+ posts

why isn't every programming language easy to learn

ScratchCatHELLO wrote:

whenever you think javascript is hard, remember that there are people who code in assembly.
Eww XP
ScratchCatHELLO
Scratcher
1000+ posts

why isn't every programming language easy to learn

Socialix wrote:

scratchieguy12345678 wrote:

wvj wrote:

ScratchCatHELLO wrote:

whenever you think javascript is hard, remember that there are people who code in assembly.
or malbolge
('&%:9]!~}|z2Vxwv-,POqponl$Hjig%eB@@>}=<M:9wv6WsU2T|nm-,jcL(I&%$#"
`CB]V?Tx<uVtT`Rpo3NlF.Jh++FdbCBA@?]!~|4XzyTT43Qsqq(Lnmkj"Fhg${z@>
will print “hello world”

Hello world in COW:

MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO
MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO
MoO MoO Moo MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO Moo MoO MoO
MoO MoO MoO MoO MoO Moo Moo MoO MoO MoO Moo OOO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO
MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO Moo MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO
MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO
MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO
MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO Moo MOo
MOo MOo MOo MOo MOo MOo MOo MOo MOo MOo MOo MOo MOo MOo MOo MOo MOo MOo MOo MOo MOo MOo MOo MOo MOo MOo MOo MOo MOo MOo MOo MOo MOo MOo MOo
MOo MOo MOo MOo MOo Moo MOo MOo MOo MOo MOo MOo MOo MOo Moo MoO MoO MoO Moo MOo MOo MOo MOo MOo MOo Moo MOo MOo MOo MOo MOo MOo MOo MOo Moo
OOO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO Moo
why is this programming language acting like a cow spamming “mooo!!!! give me some milk!!!!!” in the scratch forums

it's called an Esoteric Programming Language, or Esolang. there are a bunch of these and they're typically weird or overly complex. There's one that just uses spaces, indents and newlines. One of my personal favorites is lolcode:
HAI 1.2
CAN HAS STDIO?
HOWZ I FINDCHEESE YR TEXT
I HAS A CHEESE ITZ 1
IM IN YR PANTRY UPPIN YR CHEESE TIL BOTH SAEM CHEESE AN TEXT
VISIBLE CHEESE
IM OUTTA YOUR PANTRY
FOUND YR CHEESE

PLS OPEN FILE "example.txt"?
AWSUM THX
I HAS A TEXT ITZ FILE
TEXT R MAEK TEXT A NUMBR
I IZ FINDCHEESE YR TEXT MKAY
BOTH SAEM TEXT AN 10, O RLY?
YA RLY
VISIBLE "file is 10"
NO RLY
VISIBLE "file is not 10"
OIC
OH NOES
VISIBLE ":("
BTW THIS IS A COMMENT
OBTW
THIS IS ALSO A COMMENT
AND WILL NOT BE RUN
TLDR
KTHXBYE

this should (not tested) open a file called example.txt, print ascending numbers until the number in the file is reached, and then print whether or not the number in the file is 10.

Last edited by ScratchCatHELLO (May 5, 2021 19:11:44)

anggalin
New Scratcher
2 posts

why isn't every programming language easy to learn

I do C++, HTML, Javascript, PHP, and Python, but I can't figure out Regex.
Raihan142857
Scratcher
1000+ posts

why isn't every programming language easy to learn

anggalin wrote:

I do C++, HTML, Javascript, PHP, and Python, but I can't figure out Regex.
regex isnt a programming language (it isn't turing complete) unless you're using perl regex
samq64
Scratcher
1000+ posts

why isn't every programming language easy to learn

Socialix wrote:

ScratchCatHELLO wrote:

Socialix wrote:

PUNNAMOODU wrote:

No programming language is hard to learn. It just takes some effort. While programming languages like C++ can seem complicated, it just requires some dedication. Also, languages like C++/Java have some slightly complicated concepts. But as long as you stick to a good learning/reference source, you should be able to learn them.

Also, instead of starting with a language like C++, try an easier language like Python. Once you get started on it and make some progress, you won't regret it.
i know most stuff on roblox lua but i dont know what module scripts and require is

yet python and javascript syntax is so bad

why do you think python and javascript syntaxes are bad?
I guess I understand python syntax being weird (it requires indents to run), but what's wrong with javascript?
() in if statements and semicolons all the time
I agree.

Powered by DjangoBB