Discuss Scratch

Socialix
Scratcher
1000+ posts

lua vs python vs js vs c vs malbolge vs cow vs c++ vs c# vs go vs dart vs scratch vs byob vs everything

i need to know which is better

also pls don't link me to 9gr's “python vs js” topic
9gr
Scratcher
1000+ posts

lua vs python vs js vs c vs malbolge vs cow vs c++ vs c# vs go vs dart vs scratch vs byob vs everything

rude
PkmnQ
Scratcher
1000+ posts

lua vs python vs js vs c vs malbolge vs cow vs c++ vs c# vs go vs dart vs scratch vs byob vs everything

Befunge-98
Chiroyce
Scratcher
1000+ posts

lua vs python vs js vs c vs malbolge vs cow vs c++ vs c# vs go vs dart vs scratch vs byob vs everything

Python & JS are pretty good, C is epic for low level, Assembly for even more low level, malbolge if you want to go crazy, byob is basically bad, it's like a mix of Scratch and JS, which is bad, either do Scratch OR JS, not both together. What on earth is cow?

The Title wrote:

lua vs python vs js vs c vs malbolge vs cow vs c++ vs c# vs go vs dart vs scratch vs byob vs everything
Socialix
Scratcher
1000+ posts

lua vs python vs js vs c vs malbolge vs cow vs c++ vs c# vs go vs dart vs scratch vs byob vs everything

Chiroyce wrote:

What on earth is cow?
programming language where you only type in “moo” with different letters capitalized
PkmnQ
Scratcher
1000+ posts

lua vs python vs js vs c vs malbolge vs cow vs c++ vs c# vs go vs dart vs scratch vs byob vs everything

Chiroyce wrote:

byob is basically bad, it's like a mix of Scratch and JS, which is bad
I'd describe it more as Scratch but functional
PkmnQ
Scratcher
1000+ posts

lua vs python vs js vs c vs malbolge vs cow vs c++ vs c# vs go vs dart vs scratch vs byob vs everything

PkmnQ wrote:

Befunge-98
Ok, but this is actually a half-serious answer. It's not the most practical programming language out there, but because of fingerprints, it's actually usable.
gosoccerboy5
Scratcher
1000+ posts

lua vs python vs js vs c vs malbolge vs cow vs c++ vs c# vs go vs dart vs scratch vs byob vs everything

Chiroyce wrote:

byob is basically bad
*gasp* I thought we were friends!

Chiroyce wrote:

it's like a mix of Scratch and JS
It's like Scratch but with cooler (custom) blocks. You yourself said you would like regex in Scratch! Well Snap can do that..
Chiroyce
Scratcher
1000+ posts

lua vs python vs js vs c vs malbolge vs cow vs c++ vs c# vs go vs dart vs scratch vs byob vs everything

gosoccerboy5 wrote:

Chiroyce wrote:

byob is basically bad
*gasp* I thought we were friends!

Chiroyce wrote:

it's like a mix of Scratch and JS
It's like Scratch but with cooler (custom) blocks. You yourself said you would like regex in Scratch! Well Snap can do that..
no, thats snap! with regex, not Scratch with regex, sorry if i offended anyone by saying byob is bad, its my opinion and you dont have to care about it …
AmazingMech2418
Scratcher
1000+ posts

lua vs python vs js vs c vs malbolge vs cow vs c++ vs c# vs go vs dart vs scratch vs byob vs everything

Okay, Lua is a decent scripting language, but personally not one of my favorites.

Python is a good scripting language if you like whitespace, and has a lot of modules available, especially for AI and data science.

JS is an amazing language that can be used in front-end web dev, backend web dev, console applications, GUI applications, and mobile applications, and is a flexible language and weakly and implicitly typed. I personally like this since it makes it more flexible, but some people don't like it.

C is a fast language, but can get kind of verbose since it is lower-level than most other languages. I personally like it, but going with C++ would probably make your code a bit more readable. However, if you are interested in OS dev, C is the way to go!

I've never tried Malbolge or Cow, but they are esolangs and are probably not the best unless you want to codegolf or something. XD

C++ is an object-oriented version of C, meaning you can use multiple files easily and can create your own data types. It is much more flexible (not quite as much as JS though) and still keeps lower-level memory control through raw allocation and pointers.

C# is only good for People who like M$FT and want to make Windows applications. I would not recommend it if you are interested in open-source code or Linux (or if you are for some reason interested in Apple products, which I don't know why, but then you'd go with Swift, or if you like old languages with a steeper learning curve, Objective-C). C# can however be good for Windows-based servers running on ASP.NET.

Go is a great language that is mainly used for backend web development. I personally like it because it makes error handling much easier than other languages, is still fairly flexible although strongly typed, and has great concurrency support.

Dart is basically a hybrid between C++ and JavaScript. XD It's a really good language and easy to learn, and compiles into JS for most applications, but it would probably be better in those cases to just write in JS.

Scratch is, of course, this website and the block coding language. It is pretty much like a non-object-oriented, block coding version of JavaScript when it comes to its typing systems, and is like PyGame/Python Turtle for its interface system, just a little simpler with the use of sprites.

BYOB is like Scratch, but with better custom block support, and other features as well.

There are a lot more other languages too of course! If you would like to look at a few programs that do the same thing for comparison, I have https://github.com/AmazingMech2418/Pi-in-Many-Languages which includes 46 languages or dialects. Some I would definitely recommend are Fortran, COBOL, BASIC, Rust, Swift, Java, and Ada.

A few things about those ones:

Fortran is the oldest still-in-use language and was made in 1957. It includes the ability to create functions and procedures, and includes a great type system that allows for high-precision and controlled mathematical and scientific applications. Fortran is fast and efficient, and also a pretty easy language to learn once you get used to it.

COBOL is another old language from 1959, and includes even more precise mathematical applications since you determine the number of digits it calculates to. It is less memory-efficient than Fortran, however, and is not highly used today, and also has a bit of a tough syntax to learn, but its precision definitely can be a help if you're interested in data science.

BASIC originally came out in 1964 and is a great beginners language, despite a few strict rules. It comes in many dialects, including QBasic, TI-BASIC, PG-BASIC (Repl.it's version of BASIC), GW-BASIC (for DOS), Altair BASIC (also made by Microsoft), etc. These dialects are all different, but all have similar features, and it is extremely easy to learn.

Rust is like C++, but “safe”, meaning everything is by default immutable. This prevents many potential vulnerabilities, and Rust is also faster than C++. Many companies, including Google, are switching from C++ to Rust.

Swift is a language primarily for Apple product development (iOS, Mac, etc.), but is also used for data science. It has a great modern syntax, similar to Go or Kotlin, and is one I personally really like, but more for the data analysis applications. XD

Java is a verbose object-oriented language that is explicitly and weakly typed. You tell it the type, but multiple types can be used together, like you can add a string and a number for example. It also has great object-oriented capabilities and is primarily used for Android development (although Kotlin is starting to take over there) and enterprise applications. Java has been at the top of the TIOBE index for years, but one issue is that it is extremely verbose and you have to write the entire shell for each class every time you want to program something, which can be a pain. If you like Java's syntax, but want the flexibility of JavaScript, I would also recommend Haxe.

Ada is a language created by the DoD, and is pseudo-object-oriented, but with an easy to learn syntax and good type system. It is used in many military and aerospace applications as well.
linearlemur
Scratcher
500+ posts

lua vs python vs js vs c vs malbolge vs cow vs c++ vs c# vs go vs dart vs scratch vs byob vs everything

Javascript: Web development
C++: Low level programming
Python: Literally everything else
Raihan142857
Scratcher
1000+ posts

lua vs python vs js vs c vs malbolge vs cow vs c++ vs c# vs go vs dart vs scratch vs byob vs everything

linearlemur wrote:

Javascript: Web development
C++: Low level programming
Python: Literally everything else
I disagree, all three of those languages could basically be used for anything (except c++ can't be used for webdev).
AmazingMech2418
Scratcher
1000+ posts

lua vs python vs js vs c vs malbolge vs cow vs c++ vs c# vs go vs dart vs scratch vs byob vs everything

Raihan142857 wrote:

linearlemur wrote:

Javascript: Web development
C++: Low level programming
Python: Literally everything else
I disagree, all three of those languages could basically be used for anything (except c++ can't be used for webdev).
Python can't be used for web dev either without Brython. If you count that though, C++ can be used in WASM. XD
Steve0Greatness
Scratcher
1000+ posts

lua vs python vs js vs c vs malbolge vs cow vs c++ vs c# vs go vs dart vs scratch vs byob vs everything

there's no such thing as a “best programming language,” just look up what you need from a language.
linearlemur
Scratcher
500+ posts

lua vs python vs js vs c vs malbolge vs cow vs c++ vs c# vs go vs dart vs scratch vs byob vs everything

Raihan142857 wrote:

linearlemur wrote:

Javascript: Web development
C++: Low level programming
Python: Literally everything else
I disagree, all three of those languages could basically be used for anything (except c++ can't be used for webdev).

I was talking about what the languages are best for.
linearlemur
Scratcher
500+ posts

lua vs python vs js vs c vs malbolge vs cow vs c++ vs c# vs go vs dart vs scratch vs byob vs everything

AmazingMech2418 wrote:

Raihan142857 wrote:

linearlemur wrote:

Javascript: Web development
C++: Low level programming
Python: Literally everything else
I disagree, all three of those languages could basically be used for anything (except c++ can't be used for webdev).
Python can't be used for web dev either without Brython. If you count that though, C++ can be used in WASM. XD

Exactly, that's why Javascript is the best for web development. Also, there's a thing called Flask.
Chiroyce
Scratcher
1000+ posts

lua vs python vs js vs c vs malbolge vs cow vs c++ vs c# vs go vs dart vs scratch vs byob vs everything

AmazingMech2418 wrote:

Raihan142857 wrote:

linearlemur wrote:

Javascript: Web development
C++: Low level programming
Python: Literally everything else
I disagree, all three of those languages could basically be used for anything (except c++ can't be used for webdev).
Python can't be used for web dev either without Brython. If you count that though, C++ can be used in WASM. XD
I used flask to create a website with Python (backend) and JS (frontend), if that counts.


aaa ninja'd by linearlemur

Last edited by Chiroyce (May 28, 2021 15:10:50)

Raihan142857
Scratcher
1000+ posts

lua vs python vs js vs c vs malbolge vs cow vs c++ vs c# vs go vs dart vs scratch vs byob vs everything

AmazingMech2418 wrote:

Raihan142857 wrote:

linearlemur wrote:

Javascript: Web development
C++: Low level programming
Python: Literally everything else
I disagree, all three of those languages could basically be used for anything (except c++ can't be used for webdev).
Python can't be used for web dev either without Brython. If you count that though, C++ can be used in WASM. XD
Well, a lot of people actually use Brython. With Brython + Flask you don't even need JS for webdev. (I wouldn't advise this since python is a bad language). Although C++ can be used with WASM it's way too impractical to use it serverside unless it's for fast calculations.
Sheep_maker
Scratcher
1000+ posts

lua vs python vs js vs c vs malbolge vs cow vs c++ vs c# vs go vs dart vs scratch vs byob vs everything

One of the nice things about Scratch is that it enforces types at the syntax level; you can't drag a non-boolean into a boolean input, and some dropdowns don't allow reporters in them. Most other languages either don't care or have to scan your entire code for type errors
Chiroyce
Scratcher
1000+ posts

lua vs python vs js vs c vs malbolge vs cow vs c++ vs c# vs go vs dart vs scratch vs byob vs everything

Raihan142857 wrote:

Well, a lot of people actually use Brython. With Brython + Flask you don't even need JS for webdev. (I wouldn't advise this since python is a bad language).
wait really? imma try that!!!

Powered by DjangoBB