Discuss Scratch
- Discussion Forums
- » Advanced Topics
- » js or python
- ScratchCatHELLO
- Scratcher
1000+ posts
js or python
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. Looking to general use is unideal, you should use the language best for what you want to do
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
JS has just cleaner syntax than C++ and Python is used to create apps, but IT'S INTERPRETED :O 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
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
Poster is referring to C#, not C++. They are different.JS has just cleaner syntax than C++ and Python is used to create apps, but IT'S INTERPRETED :O 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
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
Ikr, but alsoPoster is referring to C#, not and C++. They are different.JS has just cleaner syntax than C++ and Python is used to create apps, but IT'S INTERPRETED :O 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
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
Exactly. I 100% agree. 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
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
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.Exactly. I 100% agree. 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
Scratch to Pygame converter: https://scratch.mit.edu/discuss/topic/600562/
- cs2861142
- Scratcher
100+ posts
js or python
Agreed, python is good for what it's intended for. I much prefer ‘standard’ syntax, if you will (brackets).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.Exactly. I 100% agree. 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
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
i think that's C-like syntaxAgreed, python is good for what it's intended for. I much prefer ‘standard’ syntax, if you will (brackets).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.Exactly. I 100% agree. 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
- ajskateboarder
- Scratcher
1000+ posts
js or python
If anything, idents should be preferable over brackets because they enforce better code style. 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
- cs2861142
- Scratcher
100+ posts
js or python
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.If anything, idents should be preferable over brackets because they enforce better code style. 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
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
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. Indents do enforce better code style, but might not be better for everyone.
- BreadcatGames
- Scratcher
1000+ posts
js or python
Fair pointMany 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. Indents do enforce better code style, but might not be better for everyone.
- cs2861142
- Scratcher
100+ posts
js or python
Yeah, that's a good way to put it.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. Indents do enforce better code style, but might not be better for everyone.
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.
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
Same, I cannot function without ending my commands with semicolons 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.
Last edited by INSERT-USER_NAME (Jan. 20, 2024 01:05:09)
- ajskateboarder
- Scratcher
1000+ posts
js or python
Same, I cannot function without ending my commands with semicolons 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.
Please explain
- ideapad-320
- Scratcher
1000+ posts
js or python
You can loose tabs through copy and paste VERY easily. It is hard to accidentally lose curly braces.Yeah, that's a good way to put it.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. Indents do enforce better code style, but might not be better for everyone.
This is my siggy.
Can't wait for FRC water game!
- TheSecondGilbert
- Scratcher
100+ posts
js or python
More reason to use IDEs with multi-line indenting/dedenting.You can loose tabs through copy and paste VERY easily. It is hard to accidentally lose curly braces.Yeah, that's a good way to put it.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. Indents do enforce better code style, but might not be better for everyone.
(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!
- Discussion Forums
- » Advanced Topics
- » js or python