Easy to learn, hard to master, used for things it wasn’t created for.
Yep.
used for things it wasn’t created for
I think Python gets a point here, as it is very good at doing what it was created for.
Javascript even sucks at its stated goal.You don’t master Javascript, ever. You just become accustomed to the madness and stop caring, while sometimes doing things right.
Typescript helps a bit but not much
Is there a typescript analogue for python? Preferably that adds curly braces?
Type Annotations and other typing-related stuff iare built into the language/standard library.
To get a real benefit you should use a static type checker like mypy.
Just be a decent human being and use type hints in python, problem solved.
from __future__ import braces
Give it a go
Go.
Oh, is that what the Go is all about?
I agree.
Gotta say, ive done magical things in Javascript. NodeJS in particular can do damn near anything you set your mind to, and it doesnt give a damn if you use tab or 4 spaces.
For real, you really can do anything there, sometimes sacrificing efficiency, but still.
used for things it wasn’t created for.
so, like 90% of all programming languages
what was the original goal of python?
sssssssssssssss
The goal for Python 3 was to be an all purpose language that the general population could use for their everyday computing tasks
What was it created for?
Looking nice and upsetting people.
That tracks
Can confirm
But they’re both programming languages…
They do share a significant commonality, though; they are both interpreted languages, rather than compiled. Sure, you can compile them, but they are meant to be run interpreted so you can quickly and easily tweak and change things and not have to wait for compilation to see the results. In that regard they are very comparable.
This one triggers the entire spectrum of human emotion.
Tired of rage bait
That’s not even good rage bait.
Rage bait would be for example if you said “they could fix everything that’s wrong with PHP but Python already exists”.
How is this rage bait? It seems like an inno-
Wait.
Goddamnit.
Since JavaScript is newer than Python, sure JS is the Python of programming languages /s
Wait let’s hear him out
Because JavaScript isn’t a programming language, it’s a compilation target 😅
the SAD reality!
I had to do a project once with JavaScript. I did not enjoy the experience. In my opinion, a language where you need a reference to tell true from false is a bad language. So maybe JavaScript is the JavaScript of languages.
Python is the connective tissue holding together library calls and some of our most advanced AI research is reliant on that. mildly concerning
This is from 2021…
Et alors
What?