3 ms·
Well, you first need to understand the history of C to fully get why it's such a terrible language. I have link (below) with both a long video and a brief summa
by nickpsecurity 11y ago
Well, you first need to understand the history of C to fully get why it's such a terrible language. I have link (below) with both a long video and a brief summary in numbered points. I think the arguments against using it today are solid and conclusive if you're not forced to for some pragmatic reason.
http://pastebin.com/UAQaWuWG http://pastebin.com/UAQaWuWG
Nonetheless, C got a lot of use via network effects. There actually have been many C dialects out there: compiler variants, extensions for specific systems, safe/secure versions of it, parallel/concurrent versions, hardware languages... the list goes on. Probably dozens of C variants appeared and mostly failed. The main reason is legacy: whatever replacement exists must support the existing C language usage and codebase. Any fixes that break apps or require rewrites are rejected. Marketing and community effects are another issue.
Now, we have to ask what is LISP. I think Graham said it best in that it's an axiomatization of computation itself:
http://www.paulgraham.com/rootsoflisp.html http://www.paulgraham.com/rootsoflisp.html
So, LISP is that concept and core. Its nature lets you express various constructs however you want to. You break the problem into smaller pieces while simultaneously modifying the language to better express their solution. What's best way of expressing a problem naturally varies from programmer to programmer. The LISP variants therefore are the many ways different people (or communities) looked at solving a problem within the LISP core and philsophy. Some stay purely in it, some diverge wildly from it, and some are in the middle. The fundamental concept and approach, though, with many interpretations on expressing it are why there are so many LISP's, though.
Clojure, a new expression of the LISP concept/core, has advantages expressed well in the first paragraphs of the rationale:
http://clojure.org/rationale?responseToken=894e644e3f4488b17953fe43bbd586c0 http://clojure.org/rationale?responseToken=894e644e3f4488b17...
This philosophy and use of DSL's for expression is no longer unique to LISP. One can see it in REBOL/Red quite directly with some takeup in languages such as Haskell and Julia. Forth also does this sort of thing with stack operations. So, we're seeing uptake of the idea even in mainstream with them recognizing the benefits. All started with McCarthy's reducing all computation down to some primitive, consistent elements that were shown to express or adapt to anything.