4 ms·
Why are new languages compelled to show you how to print to console?? > print("Hello, World.") Literally the least interesting thing about any language.
by khazhoux 6y ago
Why are new languages compelled to show you how to print to console??
> print("Hello, World.")
Literally the least interesting thing about any language.
- ziotom78 6y agoOn the contrary, I believe the example already tells something. Consider all the boilerplate you have to put around the "print" statement when you write the same program in C++ or Java: #include <iostream> // Needed to use std::cout int main() { // You need to wrap the code into a "main" function std::cout << "Hello, World.\n"; } At least, the example shows that Neon is in the same ballpark as Python, Ruby, Nim, etc.
- khazhoux 6y agoOk, true. Still, I really want the language's one-pager to show me right away what's awesome and different.
- musicale 6y ago> print("Hello, World.") That's not even as concise, clear and beautiful as Python 2 or BASIC: print "Hello, World."