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.
deleted by creator
Is there a typescript analogue for python? Preferably that adds curly braces?
Type Annotations and other typing-related stuff are 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.
JavaScript is nice if you ignore half of its “features”.
Python is nice once you know all of its core features.
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.
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
deleted by creator
Looking nice and upsetting people.
deleted by creator
Can confirm
But they’re both programming languages…
That’s the joke
It’s implying js isn’t a programming language because web stuff isn’t real programming
Web stuff is like 99% of all programming across the world, but okay.
Don’t get mad at me I’m just explaining it
Not even close.
Most software out there is not consumer facing (there is a huge amount of custom stuff inside companies of all sizes) and even in the consumer space most software nowadays resides in … smartphones.
Unless, of course, you count HTML (literally a Markup Language, so data formatting for display not code) as programming, in which case I’ll leave you to enjoy your fantasy world.
You kinda forget that for each front end you see theres at least 4 times more backend to support it.
Also there are ton of non fron facing software.
Anyway its not really a competition. No one will be offended if you are wrong or not.
The back-end functionality is still web functionality. Just because a user doesn’t see all the server stuff doesn’t mean it’s not necessary to support a website. There are billions of websites across the world, and they almost all use some combination of back-end, front-end, database, and server code.
I think they meant javascript is to web dev as python is to software dev
it’s a 4chan post, they don’t “think” they are lawless animals, deprived from any sense of rationality
I think it’s a 4chan post and thus intentionally dumb.
I read it as them both being loose-typed interpreted and widelly used 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.
Because JavaScript isn’t a programming language, it’s a compilation target 😅
the SAD reality!
This one triggers the entire spectrum of human emotion.
Python is the connective tissue holding together library calls and some of our most advanced AI research is reliant on that. mildly concerning
Many banking systems sync with one another with txt files so… Yeah…
If you think that’s bad, don’t think about how many important communications in the world happen completely verbally.
Pretty much all online service APIs (Google APIs, Facebook and so on) out there are text-based.
Granted, JSON formatted text, but still absolutelly human readable text.
The reason for that is because it’s agnostic of the machine architectures (stuff like endianess) on both sides.
The really crazy stuff in banking are the old binary protocols (like EDF) from the time when bandwidth was way less than now (so, the early 90s and earlier).
O.O
…
What.
(Nobody tell him about the Cobol batch jobs that still run overnight.)
You don’t want to know how bad it is. A good friend is a consultant/business analyst for some salesforce-based loan software. Shit’s terrifying.
SFDC itself is written in Java but uses Javascript-esque APEX for whitelabel development?
I mostly meant the base level shit with text files and ridiculous APIs. Converting from one servicing system to another sounds kind of fun, though. I’ve always enjoyed doing horrible things to data. The most recent one I heard is there’s a drag and drop visual coding tool that I’m told can’t export to apex - just make calls to it.
Many banking systems sync with one another with txt files.
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.
Javascript is the javascript of JavaScript
It’s only JavaScript if it is from the ECMA region in Europe. Otherwise it’s just sparkling java…
I’m not a programmer but I took a class in JavaScript. Unless I’m misunderstanding what you mean by reference, I don’t recall that feature of the language. Can you explain?
A language reference (a manual). It’s not a language feature.
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”.
deleted by creator
Since JavaScript is newer than Python, sure JS is the Python of programming languages /s
Wait let’s hear him out
What?
This is from 2021…
Et alors