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
Well duh. Haskell nerds were really hyped by early day rust when they thought it was going to be the next big functional language and then it became a systems language which meant it had to be more imperative.
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...
Internally, javascript is a lisp interpreter with a parser for a C-like language on the front. It looks imperative, but under the hood it's functional.
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.
58
u/MinecraftPlayer799 2h ago
Why is JavaScript Lisp? And why is Python C?
6
u/AnxiousSquare 2h ago
and SQL
6
u/thecrazyrai 1h ago
C#?
4
u/Tabsels 2h ago
What about Forth?
103
u/noselike 2h ago
I think prolog is probably its own (WEIRD) third thing.
22
u/iamdestroyerofworlds 2h ago
JavaThcript*
11
u/Dario48true 2h ago
What about uiua 😈
8
u/Goatfryed 1h ago
What about brainfuck?
5
u/Kriss3d 2h ago
I loved programing back in borlands C++ days.
5
u/CompetitiveSleeping 2h ago
Assembly?
5
u/RandomiseUsr0 1h ago
Excel worksheet language - LISP
3
u/Lucasbasques 2h ago edited 2h 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
2
u/mokrates82 1h ago
Python is a Lisp like Javascript.
2
u/Fermion96 1h ago
Brainfuck?
2
u/ekauq2000 42m ago
RPG IV?
1
u/I_Believe_I_Can_Die 2h ago
What about Brainfuck?
1
u/Freecelebritypics 1h ago
I mean, I find lisp incomprehensible but JavaScript and C languages are just fine
1
u/Chaosxandra 51m ago
Rust
1
u/araujoms 50m ago
JavaScript is LISP in the sense that Charles II was the son of Philip IV.
1
u/PrepositionStrander 39m ago
Prolog ain’t functional nor procedural.
1
u/mrheosuper 19m ago
What is Verilog then ?
0
u/This_Background7442 1h ago
Right so expressions vs statements is your criterium..
1
u/orzel_von_vandein 2h ago
Laughs in whitespace, befunge, piet and brainfuck