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
C has first class functions & also traditional lisp doesn't even rly have first class functions, they have their own namespace and you use an object representing their name or a special lambda object iirc
I mean yeah they are called functional, imperative and declarative programming paradigmes. JS has some functional elements, and was very early in the imperative languages to have functions as first level citizens, but I wouldn't call it a functional language...
No, Lean would be very much a Lisp language in the sense of this meme. Even more so than Javascript etc.
Lean has a very classical functional programming paradigm, which can be utilized to write proofs according to the curry howard isomorphism, dictating a correspondence between (function) types and propositions. Fundamentally, the task of proving a proposition is nothing more than finding a term of some type, and thats not really different to writing any other functional code. (Granted, in particular when using proof tactics, your code will not look very akin to e.g. Haskell anymore, but fundamentally you only search for terms inhabiting your proposition type)
I don't think that's any more true for C than any other programming language, to be honest. We meme about everything being undefined behavior in C so it might feel like you have just as much control, but assembly is so much worse. Unless you're writing inline assembly, of course.
47
u/MinecraftPlayer799 1h ago
Why is JavaScript Lisp? And why is Python C?
4
u/Tabsels 1h ago
What about Forth?
4
u/AnxiousSquare 1h ago
and SQL
3
u/thecrazyrai 39m ago
C#?
76
u/noselike 1h ago
I think prolog is probably its own (WEIRD) third thing.
18
u/iamdestroyerofworlds 1h ago
JavaThcript*
7
u/Dario48true 1h ago
What about uiua 😈
6
u/Goatfryed 58m ago
What about brainfuck?
4
u/Kriss3d 1h ago
I loved programing back in borlands C++ days.
4
u/CompetitiveSleeping 1h ago
Assembly?
3
u/Lucasbasques 1h ago edited 1h ago
Is all beeps and boops in the end
3
u/Falgasi 1h ago
Thanks for giving me PTSD flashbacks to university course teaching lisp after I had about 3 months of programming experience in Java
3
u/RandomiseUsr0 59m ago
Excel worksheet language - LISP
2
u/mokrates82 1h ago
Python is a Lisp like Javascript.
1
u/I_Believe_I_Can_Die 1h ago
What about Brainfuck?
1
u/This_Background7442 57m ago
Right so expressions vs statements is your criterium..
1
u/Freecelebritypics 55m ago
I mean, I find lisp incomprehensible but JavaScript and C languages are just fine
1
u/Fermion96 44m ago
Brainfuck?
1
u/orzel_von_vandein 1h ago
Laughs in whitespace, befunge, piet and brainfuck