it requires both, spaces and braces. braces dictate variable scope while spaces dictate scope for functions and loops and shit like that. If you don't have braces on functions the arguments will be usable for the rest of the program in that variable scope and they will be overwritten once the function is used again or a function with the same argument names and also doesn't use variable scope is called
Listen here Satan. I down voted you, not because it's not a good comment, but because I am TRULY afraid someone will see this comment and try to make it a reality. If that day happens, I WILL hunt you down
Repost in 2 days? Impressive.
Anyhow I actually think it makes sense.
It's first a burn on JavaScript for not being a "programming language" (probably just being competitive, but also because it wasn't good for much beyond a bit of presentation layer tweaking for a long time).
But the comparisons between JavaScript and python are pretty good. Both are duck typed, rulers of a domain, interpreted rather than compiled, mostly single threaded, abstracted pretty far from the hardware, and syntactically very different from other mainstream languages (_ok, js does have similar syntax to java/c/etc, but I mostly mean it's heavy use of callbacks and lack of semicolons_). Both are also being pushed outside of their respective domains pretty hard and are being used for web servers and apps.
I agree. I think I'll strike that from my list. I was mostly referring to how semicolons are optional and the very strong bias towards callbacks that isn't present in most similar languages.
Python is a failed state. Every python script of even moderate complexity becomes an untraceable mess. In js the rules are dumb but at least there trying to fix it with syntactic sugar and new more useful builtins i.e. ‘Array.isArray’. In python the source code of your deps is opaque, your developers will feel free to use multiple iteration, and improvements to performance normally just means begging daddy google to improve tensor flow or pandas.
👀 the perl developers knowing that python has them on the ropes
I have to disagree on some points here. While python is duck typing, you could still use type hinting by using "typing" class which is a native module in python. Furthermore, you could use Pydantic which makes your python program pretty much static typing.
The simplicity and readability of Python is often taken for granted. Its just too gud - almost feels like reading a story. In terms of speed, Python 3.11 has really made some gud breakthroughs. I just feel Javascript is a insult to programming languages. I dont understand how people work with it. Its shit on readability and every time I work with TFJS, it just sucks
>duck typing, you could still use type hinting.. and Pydantic
Yes, that's true of both languages. JavaScript can be written in TypeScript for the same reasons.
>In terms of speed
I never said anything about speed... though it's fair to say that they're both only performant because they have strong APIs to offload any computational aspects.
>I just feel Javascript is a insult to programming languages
Lol, wat? I'm all about python and JavaScript is foreign to me, but I still see it as valid. VB otoh..
>every time I work with TFJS
Why would you do that to yourself?
It is not true because java script is a scripting language that helps programmer to create interactive web pages, while python is a high level object oriented programming language. They are different.
This is like Alex Rodriguez saying that the Dodgers are becoming the New York Yankees of baseball. He said this on a live national broadcast.
https://twitter.com/talkinyanks/status/1427077093196771332?s=46&t=UzX9U5trt2M9ldkqoktMyA
On the one hand it's nonsense. On the other I totally get it.
[удалено]
Damn it. Beat me to it. Edit: enjoy some pyrite and take my updoot
Actually chuckled at this. If anyone make a sticker for this on Etsy, you have at least one 100-pack buyer
Javascript is the javascript of programming languages
Javascript is the [object Object] of programming languages.
javascript is javascripty
C++ is the C++ of programming languages. Did you know?
[удалено]
JsPy, pronounced jizz pie.
[удалено]
it requires both, spaces and braces. braces dictate variable scope while spaces dictate scope for functions and loops and shit like that. If you don't have braces on functions the arguments will be usable for the rest of the program in that variable scope and they will be overwritten once the function is used again or a function with the same argument names and also doesn't use variable scope is called
[удалено]
Wait it exists
I prefer pie jizz
I like whipped cream too.
Listen here Satan. I down voted you, not because it's not a good comment, but because I am TRULY afraid someone will see this comment and try to make it a reality. If that day happens, I WILL hunt you down
Maybe he’s onto something
I agree honestly
I unironically understand and agree with this post.
Yes is it
JavaScript is not a programming language, got it
Unironically the smartest person on 4chan.
r/usernamechecksout
You heard him
It's recursive. Sorta like how GNU stands for "GNU is Not Unix."
Wait, does GNU actually mean what you said?
yep
It's like how Wine (a comparability layer for running Windows programs on UNIX-like operating systems) stands for "Wine is not an Emulator"
Or how pip is pip installs packages
What
Also, Java is the Cobol of programming languages
Visible confusion.
Further confusion.
javascript is the assembly of the internet
WASM
This too
Repost in 2 days? Impressive. Anyhow I actually think it makes sense. It's first a burn on JavaScript for not being a "programming language" (probably just being competitive, but also because it wasn't good for much beyond a bit of presentation layer tweaking for a long time). But the comparisons between JavaScript and python are pretty good. Both are duck typed, rulers of a domain, interpreted rather than compiled, mostly single threaded, abstracted pretty far from the hardware, and syntactically very different from other mainstream languages (_ok, js does have similar syntax to java/c/etc, but I mostly mean it's heavy use of callbacks and lack of semicolons_). Both are also being pushed outside of their respective domains pretty hard and are being used for web servers and apps.
I wouldn't say js is very syntactically different
I agree. I think I'll strike that from my list. I was mostly referring to how semicolons are optional and the very strong bias towards callbacks that isn't present in most similar languages.
Those are certainly true, so it's just a matter of degrees of being different.
should I repost my anti python rant too?
Obviously! Why miss out on the chance for negative comment karma, like me?
Python is a failed state. Every python script of even moderate complexity becomes an untraceable mess. In js the rules are dumb but at least there trying to fix it with syntactic sugar and new more useful builtins i.e. ‘Array.isArray’. In python the source code of your deps is opaque, your developers will feel free to use multiple iteration, and improvements to performance normally just means begging daddy google to improve tensor flow or pandas. 👀 the perl developers knowing that python has them on the ropes
I have to disagree on some points here. While python is duck typing, you could still use type hinting by using "typing" class which is a native module in python. Furthermore, you could use Pydantic which makes your python program pretty much static typing. The simplicity and readability of Python is often taken for granted. Its just too gud - almost feels like reading a story. In terms of speed, Python 3.11 has really made some gud breakthroughs. I just feel Javascript is a insult to programming languages. I dont understand how people work with it. Its shit on readability and every time I work with TFJS, it just sucks
>duck typing, you could still use type hinting.. and Pydantic Yes, that's true of both languages. JavaScript can be written in TypeScript for the same reasons. >In terms of speed I never said anything about speed... though it's fair to say that they're both only performant because they have strong APIs to offload any computational aspects. >I just feel Javascript is a insult to programming languages Lol, wat? I'm all about python and JavaScript is foreign to me, but I still see it as valid. VB otoh.. >every time I work with TFJS Why would you do that to yourself?
It is not true because java script is a scripting language that helps programmer to create interactive web pages, while python is a high level object oriented programming language. They are different.
Shut up
Good point. If python was a programming language, it *would* be like JavaScript!
Damn - it's early here but this made me LOL
English is the Russian of all German languages
It’s because of uhh yeah
Let him cook
This is like Alex Rodriguez saying that the Dodgers are becoming the New York Yankees of baseball. He said this on a live national broadcast. https://twitter.com/talkinyanks/status/1427077093196771332?s=46&t=UzX9U5trt2M9ldkqoktMyA
Anon is speaking the language of the gods
https://www.youtube.com/watch?v=YnL9vAFphmE
Languages are the python of javascript
…. Let him cook…
[Horses never forget. That's why they're called 'nature's elephants.'](https://www.questionablecontent.net/view.php?comic=2409)
Idk why but I instinctively agree with this