Discuss Scratch

ScratchCatHELLO
Scratcher
1000+ posts

js or python

ajskateboarder wrote:

MagicCrayon9342 wrote:

Looking to general use is unideal, you should use the language best for what you want to do
Well there's a reason it's called general use… because many tasks can completed under those languages. Any language with a large and competent ecosystem can fall under the general-purpose paradigm. Most languages for general use can solve problems developers face.

Of course, if you have an edge-case like blazingly fast speeds or memory safety, you should look to languages which are tailored for such tasks, like Rust or Zig or something

needing speed isn’t an edge, it’s the whole side.

Last edited by ScratchCatHELLO (Feb. 17, 2023 21:51:05)






ScratchCatHELLO
I have 5600+ posts, I've been on scratch for 5 1/2 years, I'm a Forum Helper™ and I have a Scratch Wiki account!
I like: Python, CSS, Javascript, Rust



Python 3 Text Adventure
cool new browser game - cursed laughing-crying emoji - Illuminati - you know waterbenders, but do you know stock-imagebenders? - snek - vibin' - Bump song (vevo) - Speed bump - yee - fred - m i c k e y
KoolKidz112
Scratcher
100+ posts

js or python

javascript is better in my eyes. python tricks you into this weird syntax where there are no brackets or anything and everything depends on indentation. that is a TERRIBLE precedent to set for beginning programmers; even lua is better at this. at the end of the day though c# is better than both of these combined

oh
WojtekGame
Scratcher
1000+ posts

js or python

KoolKidz112 wrote:

javascript is better in my eyes. python tricks you into this weird syntax where there are no brackets or anything and everything depends on indentation. that is a TERRIBLE precedent to set for beginning programmers; even lua is better at this. at the end of the day though c# is better than both of these combined
JS has just cleaner syntax than C++ and Python is used to create apps, but IT'S INTERPRETED :O


forgot to update sig, i own minecraft months ago lol
JS: code-gui | scratch-player | Roost.js | Pandoa | TOP: Roost.js || C++: Gamine | Gamiinuu | TOP: Gamine
Else: Emoji Painter | Forum Shopping Mall | TOP: Emoji Painter || Profile:Scratch | GitHub
Orgs: Chroast | Twerkish | Komond OS | JS Inventions | TOP: JS Inventions || Ocular Naming: 0 | 1 | 2 | 3
Games: Mom Hid My Game! | Creeper Adventuring
else might be outdated or removed by the ST.
TheSecondGilbert
Scratcher
100+ posts

js or python

WojtekGame wrote:

KoolKidz112 wrote:

javascript is better in my eyes. python tricks you into this weird syntax where there are no brackets or anything and everything depends on indentation. that is a TERRIBLE precedent to set for beginning programmers; even lua is better at this. at the end of the day though c# is better than both of these combined
JS has just cleaner syntax than C++ and Python is used to create apps, but IT'S INTERPRETED :O
Poster is referring to C#, not C++. They are different.

Hi! This is an alt of my main account.
I'm “back” from a 10-month hiatus.
I forgot the ways of the forums, so I might be wrong.
My first post!
WojtekGame
Scratcher
1000+ posts

js or python

TheSecondGilbert wrote:

WojtekGame wrote:

KoolKidz112 wrote:

javascript is better in my eyes. python tricks you into this weird syntax where there are no brackets or anything and everything depends on indentation. that is a TERRIBLE precedent to set for beginning programmers; even lua is better at this. at the end of the day though c# is better than both of these combined
JS has just cleaner syntax than C++ and Python is used to create apps, but IT'S INTERPRETED :O
Poster is referring to C#, not and C++. They are different.
Ikr, but also


forgot to update sig, i own minecraft months ago lol
JS: code-gui | scratch-player | Roost.js | Pandoa | TOP: Roost.js || C++: Gamine | Gamiinuu | TOP: Gamine
Else: Emoji Painter | Forum Shopping Mall | TOP: Emoji Painter || Profile:Scratch | GitHub
Orgs: Chroast | Twerkish | Komond OS | JS Inventions | TOP: JS Inventions || Ocular Naming: 0 | 1 | 2 | 3
Games: Mom Hid My Game! | Creeper Adventuring
else might be outdated or removed by the ST.
cs2861142
Scratcher
100+ posts

js or python

KoolKidz112 wrote:

javascript is better in my eyes. python tricks you into this weird syntax where there are no brackets or anything and everything depends on indentation. that is a TERRIBLE precedent to set for beginning programmers; even lua is better at this. at the end of the day though c# is better than both of these combined
Exactly. I 100% agree.




cs2861142

15 y/o programmer, computer nerd, obsessed with 3d printing. I use fedora linux, you should too.
imfh
Scratcher
1000+ posts

js or python

cs2861142 wrote:

KoolKidz112 wrote:

javascript is better in my eyes. python tricks you into this weird syntax where there are no brackets or anything and everything depends on indentation. that is a TERRIBLE precedent to set for beginning programmers; even lua is better at this. at the end of the day though c# is better than both of these combined
Exactly. I 100% agree.
There’s nothing wrong with using indentation instead of brackets except personal preference. Python is very good at what it is made for, just like JavaScript.

Scratch to Pygame converter: https://scratch.mit.edu/discuss/topic/600562/
cs2861142
Scratcher
100+ posts

js or python

imfh wrote:

cs2861142 wrote:

KoolKidz112 wrote:

javascript is better in my eyes. python tricks you into this weird syntax where there are no brackets or anything and everything depends on indentation. that is a TERRIBLE precedent to set for beginning programmers; even lua is better at this. at the end of the day though c# is better than both of these combined
Exactly. I 100% agree.
There’s nothing wrong with using indentation instead of brackets except personal preference. Python is very good at what it is made for, just like JavaScript.
Agreed, python is good for what it's intended for. I much prefer ‘standard’ syntax, if you will (brackets).




cs2861142

15 y/o programmer, computer nerd, obsessed with 3d printing. I use fedora linux, you should too.
BreadcatGames
Scratcher
1000+ posts

js or python

cs2861142 wrote:

imfh wrote:

cs2861142 wrote:

KoolKidz112 wrote:

javascript is better in my eyes. python tricks you into this weird syntax where there are no brackets or anything and everything depends on indentation. that is a TERRIBLE precedent to set for beginning programmers; even lua is better at this. at the end of the day though c# is better than both of these combined
Exactly. I 100% agree.
There’s nothing wrong with using indentation instead of brackets except personal preference. Python is very good at what it is made for, just like JavaScript.
Agreed, python is good for what it's intended for. I much prefer ‘standard’ syntax, if you will (brackets).
i think that's C-like syntax
ajskateboarder
Scratcher
1000+ posts

js or python

KoolKidz112 wrote:

javascript is better in my eyes. python tricks you into this weird syntax where there are no brackets or anything and everything depends on indentation. that is a TERRIBLE precedent to set for beginning programmers; even lua is better at this. at the end of the day though c# is better than both of these combined
If anything, idents should be preferable over brackets because they enforce better code style.
cs2861142
Scratcher
100+ posts

js or python

ajskateboarder wrote:

KoolKidz112 wrote:

javascript is better in my eyes. python tricks you into this weird syntax where there are no brackets or anything and everything depends on indentation. that is a TERRIBLE precedent to set for beginning programmers; even lua is better at this. at the end of the day though c# is better than both of these combined
If anything, idents should be preferable over brackets because they enforce better code style.
I prefer brackets because it's easier to see where loops and statements are. Indents do enforce better code style, but might not be better for everyone. Python does have other benefits, though.




cs2861142

15 y/o programmer, computer nerd, obsessed with 3d printing. I use fedora linux, you should too.
ajskateboarder
Scratcher
1000+ posts

js or python

cs2861142 wrote:

Indents do enforce better code style, but might not be better for everyone.
Many C-style langs end up incorporating indenting styles through formatters (Prettier, clang-format, rustfmt, go fmt, etc.), so I'd say brackets and indents are equally good.
BreadcatGames
Scratcher
1000+ posts

js or python

ajskateboarder wrote:

cs2861142 wrote:

Indents do enforce better code style, but might not be better for everyone.
Many C-style langs end up incorporating indenting styles through formatters (Prettier, clang-format, rustfmt, go fmt, etc.), so I'd say brackets and indents are equally good.
Fair point
cs2861142
Scratcher
100+ posts

js or python

ajskateboarder wrote:

cs2861142 wrote:

Indents do enforce better code style, but might not be better for everyone.
Many C-style langs end up incorporating indenting styles through formatters (Prettier, clang-format, rustfmt, go fmt, etc.), so I'd say brackets and indents are equally good.
Yeah, that's a good way to put it.




cs2861142

15 y/o programmer, computer nerd, obsessed with 3d printing. I use fedora linux, you should too.
Epsilon_3
Scratcher
500+ posts

js or python

yk any c-like language is easier to learn for jsers.

i tried learning python but then I realized how much I love my semicolons.


╭━━━╮╱╱╱╱╱╱╭╮╱╱╱╱╱╱╭━━━╮
┃╭━━╯╱╱╱╱╱╱┃┃╱╱╱╱╱╱┃╭━╮┃
┃╰━━┳━━┳━━┳┫┃╭━━┳━╮╰╯╭╯┃
┃╭━━┫╭╮┃━━╋┫┃┃╭╮┃╭╮┳╮╰╮┃
┃╰━━┫╰╯┣━━┃┃╰┫╰╯┃┃┃┃╰━╯┃
╰━━━┫╭━┻━━┻┻━┻━━┻╯╰┻━━━╯
╱╱╱╱┃┃
╱╱╱╱╰╯
redspacecat
Scratcher
100+ posts

js or python

bump (this topic is cool)

Highlight and do Shift + Down Arrow to see the rest of my signature.
Click Here To Get A Scratch 4.0 Sneak Peak!


You should probably know that I don't actually use forbidden word, I just use this bookmarklet to upload to the assets server. I wonder who else knows what forbidden word is.













































You got TROLLED
INSERT-USER_NAME
Scratcher
1000+ posts

js or python

Epsilon_3 wrote:

yk any c-like language is easier to learn for jsers.

i tried learning python but then I realized how much I love my semicolons.
Same, I cannot function without ending my commands with semicolons

Last edited by INSERT-USER_NAME (Jan. 20, 2024 01:05:09)


consider posting here maybe?
hey guys
ajskateboarder
Scratcher
1000+ posts

js or python

INSERT-USER_NAME wrote:

Epsilon_3 wrote:

yk any c-like language is easier to learn for jsers.

i tried learning python but then I realized how much I love my semicolons.
Same, I cannot function without ending my commands with semicolons


Please explain
ideapad-320
Scratcher
1000+ posts

js or python

cs2861142 wrote:

ajskateboarder wrote:

cs2861142 wrote:

Indents do enforce better code style, but might not be better for everyone.
Many C-style langs end up incorporating indenting styles through formatters (Prettier, clang-format, rustfmt, go fmt, etc.), so I'd say brackets and indents are equally good.
Yeah, that's a good way to put it.
You can loose tabs through copy and paste VERY easily. It is hard to accidentally lose curly braces.

This is my siggy.
Can't wait for FRC water game!
TheSecondGilbert
Scratcher
100+ posts

js or python

ideapad-320 wrote:

cs2861142 wrote:

ajskateboarder wrote:

cs2861142 wrote:

Indents do enforce better code style, but might not be better for everyone.
Many C-style langs end up incorporating indenting styles through formatters (Prettier, clang-format, rustfmt, go fmt, etc.), so I'd say brackets and indents are equally good.
Yeah, that's a good way to put it.
You can loose tabs through copy and paste VERY easily. It is hard to accidentally lose curly braces.
More reason to use IDEs with multi-line indenting/dedenting.
(To be fair, this is still sort of a thing with braced languages, though it's mostly just style and doesn't affect it functionally)

I guess at least it's better than having a single brace break your code (though does this really bother anyone?)

Last edited by TheSecondGilbert (March 22, 2024 00:13:21)


Hi! This is an alt of my main account.
I'm “back” from a 10-month hiatus.
I forgot the ways of the forums, so I might be wrong.
My first post!

Powered by DjangoBB