quote:
Original post by flangazor
Is this a discrepency?
No. Nowhere in this thread have I made direct reference to a specific example.
quote:
Original post by flangazor
Is this a discrepency?
quote:
I don''t really think of actually doing that as an especially important advantage. The fact that you can, and then use that power to do useful stuff, is the advantage.
quote:Well, take a look at existing macros for a measure. "On Lisp" features quite a bunch of them, and should give you some hint of how much code a useful macro takes.
Original post by Krippy2k
This is the part of the assertions that I have a problem with. You CAN do it in any other language by writing a parser/compiler, or extending what is already there. Is it necessarily easier, or more productive to do it using Lisp macros?
quote:It''s quite a thing indeed. I wouldn''t believe it could be so (relatively) easy before I got to know Lisp.
The prolog implementation in low-line-count is one thing.
quote:But it sure wouldn''t be easy. I''d say it would be total hell, knowing what a mess C++ is.
One could extend the GNU C++ compiler to handle any language they want, really.
quote:Well, the main programmer at Naughty Dog did just that. But he didn''t do a compiler for a language that has only a set of features that the compiler defines. Instead, he did a Lisp compiler so that the other programmers could easily extend it with Lisp. He did it simply because extending a language through Lisp, versus by writing and extending a "traditional" compiler, aren''t really comparable tasks.
Seeing how Lisp proponents seem to place great value on all programmers on a project being highly talented, it shouldn''t be much of an ordeal for them to compile a compiler before using it.
quote:Macros transform code to forms that you could''ve written by hand, so you won''t lose performance with them. Instead, since they can hide harder idioms in such a way that they''re nice to use, they encourage writing efficient code. Much like in C++ where STL provides a set of well made containers and algorithms so that people can just as easily use a heap as they could use a basic array, Lisp macros open up new ways to make efficient code as easy to write as sloppy/simple code.
What would make Lisp useful is if it would be significantly easier to create the object model that I need (even better if it already exists), with a more intuitive interface, without losing a lot of performance.
quote:Sounds pretty reasonable to me.
XML with embedded logic and scripting that has random access to other objects and elements that are defined in XML, in a way that doesn''t break the XML spec insofar as reading and analyzing XML with other third-party XML tools, while still allowing lower-level manipulation from non-XML codebases
quote:
Original post by Krippy2k
Java and C# appeared to be better suited in this regard, but the performance hits were too much when the information database grew beyond 100,000 or so entries. I was able to cut down on the performance problems in C# much better than in Java, but it posed a problem in portability, where it was desirable to run the application on Unix/Linux servers which are what is mostly available in academia.
quote:
Original post by Krippy2k
This is a case where I would want to define my own object model, which many Lisp proponents seem to think is a major advantage of Lisp.
quote:
Original post by Krippy2k
The project data is entirely XML-based, which is another area that proponents have harped on. In fact, ideally, I would want tight integration of the object model and XML schema, as XML should be able to fully define the structure and interface of the objects.
(+ 1 1) ; Add 1 + 1
quote:
Original post by Krippy2k
If Lisp is as useful for implementing these types of things as people make it out to be, I will join them in their Lispdom.
quote:
Original post by Extrarius
From the few I've looked at, Corman Lisp seems to be a good compiler. The trial IDE expires (I prefer Emacs to all the other Lisp IDEs I've used anyways), but the command-line compiler does not. It is the most reasonably priced compiler I've found
quote:
Original post by Vlion
Theres two kinds of programming styles:
Programming it perfect the first time, also called the MIT method.
Programming it working and so-so the first time. I forget this philosophys name.
My point is that lisp embodies the mit method: you get it perfect and right. Thats stinking hard and doesn''t always work.
C++ embodies the other one: its not great and is quite dirty, but gets the job done.