Discuss Scratch
- Discussion Forums
- » Advanced Topics
- » what is the best overall programming language?
- I_LOVE_TO_MAKE_STUFF
-
1000+ posts
what is the best overall programming language?
“Hello World”: Ever tried malbolge?
(=<`#9]~6ZY327Uv4-QsqpMn&+Ij"'E%e{Ab~w=_:]Kw%o44Uqp0/Q?xNvL:`H%c#DD2^WV>gY;dts76qKJImZkj
- SomeoneOnThelnternet
-
1000+ posts
what is the best overall programming language?
In my opinion, probably Python, JavaScript, and HTML. They're simple and easy to use.
- Chiroyce
-
1000+ posts
what is the best overall programming language?
Comparing speed, C++ VS Python
Again, these tests mean nothing in the real world, this just shows that compiled and performance focused languages are obviously faster than interpreted and non-performance focused languages (though, Python 3.11 might be a lot more faster, I used 3.7 to test and clang for compiling C++)
Printing Hello World!:
C++: 0.002s
Python: 0.035s
C++ is 17.5x faster
Printing Hello World! 10 times:
C++: 0.002s
Python: 0.088s
C++ is 44x faster
Adding a number 10,000 times with another
C++: 0.002s
Python: 0.115s
C++ is 57.5x faster
Again, these tests mean nothing in the real world, this just shows that compiled and performance focused languages are obviously faster than interpreted and non-performance focused languages (though, Python 3.11 might be a lot more faster, I used 3.7 to test and clang for compiling C++)
- starhero5697
-
1000+ posts
what is the best overall programming language?
HTML and CSS are markup languages and not programming languages. I know only HTML, CSS, and Scratch, but an official (or whatever) language I like CSS since it's very customizable, but I'm learning JS, so maybe my answer will change…
In my opinion, JavaScript is the best. It is easy to learn and implement.
- k0d3rrr
-
1000+ posts
what is the best overall programming language?
C++ = Harder than Python. Comparing speed, C++ VS PythonPrinting Hello World!:
C++: 0.002s
Python: 0.035s
C++ is 17.5x fasterPrinting Hello World! 10 times:
C++: 0.002s
Python: 0.088s
C++ is 44x fasterAdding a number 10,000 times with another
C++: 0.002s
Python: 0.115s
C++ is 57.5x faster
Again, these tests mean nothing in the real world, this just shows that compiled and performance focused languages are obviously faster than interpreted and non-performance focused languages (though, Python 3.11 might be a lot more faster, I used 3.7 to test and clang for compiling C++)
Although the maths doesn't make sense…
- mybearworld
-
1000+ posts
what is the best overall programming language?
BF of course!
Here's a simple BF program that plays rps with you and always wins:
Here's the code in an even simpler form:
You have to give input as r,p,s.
in all seriousness, this is really fun to program in!
Here's a simple BF program that plays rps with you and always wins:
,>+++++++++++++++++++++++[<----->-]<[>+++++++++++++++++[<--------------->-]<++[[-]>+++++++++++[<+++++++++++>-]<---------.>]<>++++++++++++[<++++++++++++>-]<[-----------------------------.>]<[-]->]<+[>+++++++++++[<+++++++++++>-]<--------.>]<
Here's the code in an even simpler form:
Rock Paper Scissors program in BF , Cell 0 now should be: r = 114 p = 112 s = 115 > +++++ +++++ +++++ +++++ +++ [ < ----- > - ] < Decrease Cell 0 115 times; this will result in: r = 255 p = 253 s = 0 [ > +++++ +++++ +++++ ++ [ < ----- ----- ----- > - ] < ++ Decrease Cell 0 another 253 times; this will result in: r = 2 p = 0 [ [-] > ++++ ++++ +++ [ < ++++ ++++ +++ > - ] < --- --- --- . > Output p ] < If Cell 0 is non zero (eg 2); the input was r; therefore p (112) has to be outputted Now Cell 0 is: r = 112 p = 0 > ++++ ++++ ++++ [ < ++++ ++++ ++++ > - ] < Increase Cell 0 144 times; this will result in: r = 0 p = 114 [ ---- ---- ---- ---- ---- ---- ---- - . > Output s ] < If Cell 0 is non zero (eg 144); the input was p; therefore s (115) has to be outputted Now Cell 0 is: r = 0 s = 115 [-] - Set Cell 0 to 255 > ] < If Cell 0 is non zero (eg 253~255); input was either r or p Now Cell 0 is: r = 255 p = 255 s = 0 + Increment Cell 0; now Cell 0 is: r = 0 p = 0 s = 1 [ > ++++ ++++ +++ [ < ++++ ++++ +++ > - ] < --- --- -- . > ] < If Cell 0 is non zero (eg 1); input was s; so output r (114) Can you win against it?
You have to give input as r,p,s.
in all seriousness, this is really fun to program in!
Last edited by mybearworld (May 26, 2022 10:03:36)
- MagicCrayon9342
-
1000+ posts
what is the best overall programming language?
Python, literally different syntax than every other language. Slower than every other language. Who would choose Python as a main language, its just plains slow!
Anyway, the obvious choice is C or C++.
Anyway, the obvious choice is C or C++.
- Chiroyce
-
1000+ posts
what is the best overall programming language?
- Readability Python, literally different syntax than every other language. Slower than every other language. Who would choose Python as a main language, its just plains slow!
- Simplicity
- Thousands of open source PyPi Packages
- Has one of the best MVC software (Django) and is the best language for AI/Data Science/Machine Learning (Numpy, Tensorflow, Pandas, etc)
- Easy to learn and use
- Fast enough for anyone who isn't making high end games or embedded systems (requires running on a low level)
I use Python and NodeJS on the server side, both are equally fast in terms of response time, Node is just a tiny bit faster on highly repeated operations. JavaScript has a nicer syntax, but Python is much easier to read/understand.
The thing I hate the most about Python is that indentation is a requirement, and the interpreter will raise a SyntaxError if you mess up indentation by even one space/tab, refusing to run your code.
Last edited by Chiroyce (May 26, 2022 14:06:39)
- MagicCrayon9342
-
1000+ posts
what is the best overall programming language?
Python is slow. It's interpreted, so it is slow. You can compare C++ to Python doing even the simplest tasks and Python will STILL be slow. Python is a beginner language.- Readability Python, literally different syntax than every other language. Slower than every other language. Who would choose Python as a main language, its just plains slow!
- Simplicity
- Thousands of open source PyPi Packages
- Has one of the best MVC software (Django) and is the best language for AI/Data Science/Machine Learning (Numpy, Tensorflow, Pandas, etc)
- Easy to learn and use
- Fast enough for anyone who isn't making high end games or embedded systems (requires running on a low level)
- Chiroyce
-
1000+ posts
what is the best overall programming language?
Bro you seen the statistics? Python is a beginner language.
~41% of all professional developers use Python
Numpy, a numerical programming package for Python is the 3rd most used framework/package by professional developers
19.04% of all developers have expressed interest in developing with it, higher than all other languages, including JavaScript(14.5%), Rust(14.09%), C++(8.8%), etc
Developers like FastAPI (an API development library for Python) more than ReactJS (the worlds most popular JS framework)
more people want to use Tensorflow (AI/Machine learning library for Python) than build mobile apps for iOS and Android with React Native.
Last edited by Chiroyce (May 26, 2022 14:17:17)
- Vaibhs11
-
1000+ posts
what is the best overall programming language?
Now everyone knows that there is no answer, all programming languages have it's own features, uses and difficulty.
I apologize for my past behavior, promoting C and finding negatives in all other programming langua-
ez win

c is the best!!!!
python slow, java too long, js too popular, lua is roblox not real pl, bf boggles ur brain

I apologize for my past behavior, promoting C and finding negatives in all other programming langua-
the obvious choice is C.




c is the best!!!!
python slow, java too long, js too popular, lua is roblox not real pl, bf boggles ur brain

Last edited by Vaibhs11 (May 26, 2022 14:22:53)
- mybearworld
-
1000+ posts
what is the best overall programming language?
nonono bf is very simple! bf boggles ur brain
- uwv
-
1000+ posts
what is the best overall programming language?
personally i think typescript is the only language you will ever need because typescript just works (this is a lie) and also typescript compiled to machine code is very fast (working on a full very cool project to compile typescript into native binaries for any system)
- ToastersUnited
-
1000+ posts
what is the best overall programming language?
GDscript, lua, rust and various other language take some inspiration from Python. Python, literally different syntax than every other language. Slower than every other language. Who would choose Python as a main language, its just plains slow!
Anyway, the obvious choice is C or C++.
- ToastersUnited
-
1000+ posts
what is the best overall programming language?
Lua is not just roblox. Roblox uses a dialect of lua. lua is roblox not real pl,
Lua was created by a few Brazilians to be a general purpose programming language, that's easy to learn. It's fully capable, and us really really fast.
- Steve0Greatness
-
1000+ posts
what is the best overall programming language?
JavaScript. It is everything.
- Steve0Greatness
-
1000+ posts
what is the best overall programming language?
>:((#77)typescript > javascript
JavaScript. It is everything.
- Discussion Forums
- » Advanced Topics
-
» what is the best overall programming language?