3 ms·
It's not as if..it is truly the case. That's why only nutters use LISP for large projects. Who really wants to wrap every S-Expression in parenthesis? Talk abou
by goldenkey 13y ago
It's not as if..it is truly the case. That's why only nutters use LISP for large projects. Who really wants to wrap every S-Expression in parenthesis? Talk about painstaking and what an eye-sore. If only M-Expressions caught on, LISP could be decent. But really, it's just making you write your program as a data structure because that makes it easier for the compiler to process.
So...
Ruby: good for developers, bad for the JIT compiler (slow)
LISP: awful for developers, good for the compiler -> machine (fast)
Is the tradeoff worth it? Not at all. Most LISP intros start by convincing you that you'll eventually get used to your code looking like a sack of parenthesis. No thanks, I shouldn't need to get used to staring at overburdened verbosity for the compilers' sake - build something better. Wait..we have other languages that are fast and look nice. And many even process into a well-formed AST. Okay, thank heavens.
- sklivvz1971 13y agoyeah, the trade off are generally c-based languages.
- aerique 13y agoI disagree that Lisp is awful for developers. To me and many others it looks quite pleasant while the "other languages that look nice" actually look like a needless mess of braces, brackets, asterisks, comma's, etc. etc. Only Python comes close IMHO but has many other downsides.
- goldenkey 13y agoBrackets, asterisks, and commas give array indexing, pointers, and the clean separation of function arguments. (incf (elt vector 2)) ..versus.. ++vector[2] which one is more readable? LISP is not to be taken seriously. It's an academic curiosity, and cute, novel, not a language that needs continued zealots. It has no market share..the reasons are always going to be the same. The language is esoteric. I wouldn't program anything serious in JSON so why would I use LISP, where every semantic is a list..not even a hashmap. http://imgs.xkcd.com/comics/lisp_cycles.png http://imgs.xkcd.com/comics/lisp_cycles.png "These are your fathers' parenthesis"
- zck 13y ago>(incf (elt vector 2)) ..versus.. ++vector[2] One reason I like Lisp is that I don't have to think about operator precedence.
- goldenkey 13y agoMath expression: a(8b^2+1)+4bc(4b^2+1) In LISP: (+ (* a (1+ (* 8 b b))) (* 4 b c (1+ (* 4 b b)))) Oh, that silly operator precedence, lets just jam our heads in a vice while we unravel the nesting.
- aerique 13y agoI'm really not going to participate in a cherry picking contest on PL syntax and while my experience has show that Lisp is not for everyone, I'm quite surprised at the hostility shown towards it by you and other people on this page. I'm not quite sure whether it is just plain trolling or traumatic experiences with Lisp at college. (The latter which I can understand since being allowed to only use a very limited part of the language to solve convoluted problems can be quite off-putting.)
- JBiserkov 13y ago> you write your program as a data structure because that makes it easier for the compiler to process. It also makes it easier for YOU to process/manipulate your program with the expressive power and safety of the full language. http://en.wikipedia.org/wiki/Homoiconic#Uses.2C_advantages.2C_and_disadvantages http://en.wikipedia.org/wiki/Homoiconic#Uses.2C_advantages.2...
- goldenkey 13y agoThat's definitely a good feature. Other languages have run-time reflection, compile-time macros, mixins, and polymorphism. LISP is great for live audio production because of the homoiconicity. It's very suited for dynamic interactive programming, namely Emacs. I believe that's where the zealousness needs to stop. It's not a good language to code large projects in.
- gruseom 13y agoLISP: awful for developers, good for the compiler -> machine (fast) It's pretty funny that the knee-jerk dismissals of Lisp today are the precise opposite of what they used to be.
- goldenkey 13y agoKnee-jerk? There's nothing pretty about having every single semantic of your language need to wrap. That's called, syntax hell. And it's useful for when you want to refer the AST self-referentially, like in live editors, ie. emacs & overtone (music production.) Otherwise, it's water trash. Maybe it was cool in the 80s when the only other kid on the block was Fortran or QBasic - but we have better languages now, so we don't need to write our program as a big nested list..we can make it easier for ourselves, and we can be way more productive..well unless..we're some old dude from the 80s..that's stuck on the LISP bandwagon. tears