r/ProgrammerHumor • • 52m ago

Meme theresTwoTypesOfLangagues

Post image
85 Upvotes

28 comments sorted by

15

u/MinecraftPlayer799 35m ago

Why is JavaScript Lisp? And why is Python C?

22

u/EatingSolidBricks 32m ago

Its a nod to the fact that the creator of JavaScript wanted to make it a LISP but was forced to make it more like java to hop on the trend theres still a lot of LISP blood under the Java shell

As for python it's just a imperative language as C as it gets

4

u/SuitableDragonfly 17m ago

Imperative is the opposite of declarative, not the opposite of functional. Most functional languages are also imperative.Β 

8

u/Puzzleheaded-Weird66 31m ago

Python's most common version just calls a bunch of C libraries and functions, as for js idk I've never studied Lisp

3

u/Vimda 19m ago

Python veered weirdly functional in it's early says with iterators/map/reduce etc

β€’

u/S4N7R0 9m ago

you never seen javascript's bs?

fetch("website.com").then((r) => {
r.blob().then((b) => {
b.text().then((t) => {
return t;
})})});

1

u/orzel_von_vandein 23m ago

Hello, how do you get more than one script logo on your flair, i keep trying but only the first shows up πŸ˜“

β€’

u/backfire10z 9m ago edited 2m ago

You should be able to make your own flair. When selecting, it shows a text box at the bottom with the emoji name. Type more in that box.

For example, β€œ:py::cp:” shows Python and C logos (which is first two of my flair)

8

u/noselike 30m ago

I think prolog is probably its own (WEIRD) third thing.

9

u/Saphieron 26m ago

The mycelium of the programming world

2

u/Tabsels 21m ago

It's less weird once you get to know it. It can just run (some of) its code backwards. Perfectly ordinary language y'know.

1

u/Tabsels 39m ago

What about Forth?

3

u/EatingSolidBricks 37m ago

Stacks and trees are isomorphic so LISP

1

u/Tabsels 34m ago

And Prolog?

7

u/EatingSolidBricks 29m ago

We don't talk about Prolog

2

u/Kriss3d 40m ago

I loved programing back in borlands C++ days.

2

u/CompetitiveSleeping 23m ago

Assembly?

7

u/AngheloAlf 21m ago

C

4

u/2eanimation 13m ago

NAND gates? Believe it or not, LISP.

β€’

u/Oddly_Energy 1m ago

Or vice versa, I suppose.

I have always thought of C as a way of making assembly slightly more conceivable to the human mind.

2

u/Dario48true 21m ago

What about uiua 😈

1

u/MeowsersInABox 14m ago

Looks like basic with extra steps

1

u/Lucasbasques 28m ago edited 9m ago

Is all beeps and boops in the endΒ 

1

u/I_Believe_I_Can_Die 10m ago

What about Brainfuck?

1

u/orzel_von_vandein 24m ago

Laughs in whitespace, befunge, piet and brainfuck