this post was submitted on 03 Aug 2023
1006 points (97.3% liked)

Programmer Humor

32479 readers
282 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 5 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] Dirk@lemmy.ml 213 points 1 year ago (7 children)

Easy to learn, hard to master, used for things it wasn’t created for.

Yep.

[–] dreadgoat@kbin.social 147 points 1 year ago

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.

[–] MaximumOverflow@lemmy.ca 96 points 1 year ago (2 children)

You don't master Javascript, ever. You just become accustomed to the madness and stop caring, while sometimes doing things right.

[–] PeWu@lemmy.ml 2 points 1 year ago
[–] thewebroach@lemmy.world 17 points 1 year ago* (last edited 1 year ago) (1 children)

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.

[–] PeWu@lemmy.ml 7 points 1 year ago

For real, you really can do anything there, sometimes sacrificing efficiency, but still.

[–] MaxElFantasma@mujico.org 15 points 1 year ago

used for things it wasn’t created for.

so, like 90% of all programming languages

[–] Reborn2966@feddit.it 11 points 1 year ago (2 children)

what was the original goal of python?

[–] Kerrigor@kbin.social 52 points 1 year ago

sssssssssssssss

[–] jerkface@lemmy.ca 25 points 1 year ago

The goal for Python 3 was to be an all purpose language that the general population could use for their everyday computing tasks

[–] Steeve@lemmy.ca 6 points 1 year ago (1 children)
[–] Anticorp@lemmy.ml 33 points 1 year ago (2 children)

Looking nice and upsetting people.

[–] Steeve@lemmy.ca 6 points 1 year ago
[–] JackGreenEarth@lemm.ee 3 points 1 year ago (3 children)

But they're both programming languages...

[–] Bye@lemmy.world 20 points 1 year ago (1 children)

That’s the joke

It’s implying js isn’t a programming language because web stuff isn’t real programming

[–] Anticorp@lemmy.ml 3 points 1 year ago (3 children)

Web stuff is like 99% of all programming across the world, but okay.

[–] Bye@lemmy.world 14 points 1 year ago

Don’t get mad at me I’m just explaining it

[–] Aceticon@lemmy.world 8 points 1 year ago

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.

[–] SloppyPuppy@lemmy.world 4 points 1 year ago (1 children)

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.

[–] Anticorp@lemmy.ml 3 points 1 year ago

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.

[–] ShadedCosmos@lemmy.world 10 points 1 year ago (3 children)

I think they meant javascript is to web dev as python is to software dev

[–] Vilian@lemmy.ca 19 points 1 year ago

it's a 4chan post, they don't "think" they are lawless animals, deprived from any sense of rationality

[–] Zorque@kbin.social 8 points 1 year ago

I think it's a 4chan post and thus intentionally dumb.

[–] Aceticon@lemmy.world 1 points 1 year ago

I read it as them both being loose-typed interpreted and widelly used languages.

[–] CheezyWeezle@lemmy.world 1 points 1 year ago

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.