Moderators: phlip, Larson, Moderators General, Prelates
Sir_Elderberry wrote:Cords are not just bendy cylinders. They are flexible, animate beings possessed by spirits whose intentions are beyond our ken. They are Cthulu's tentacles intruding on our reality.
LakatosIstvan wrote:So hey guys. I'm an aspiring programmer/computer-scientist. I have fairly good knowledge of Python, Pascal, I recently started learning C/C++, and right now I starting to consider learning Lisp
( or Fortran, but that's only a "backup plan").
I am fascinated that it is still used and mentioned in these days despite his(or is it her?) age. I guess it has much to offer. But I'm not entirely sure if I should try learning it, because I'm not entirely sure if I'll ever use it. Also, I'm a bit confused about Lisp dialects, and which one to choose as a starter.
Yakk wrote:The question the thought experiment I posted is aimed at answering: When falling in a black hole, do you see the entire universe's future history train-car into your ass, or not?
Sir_Elderberry wrote:Cords are not just bendy cylinders. They are flexible, animate beings possessed by spirits whose intentions are beyond our ken. They are Cthulu's tentacles intruding on our reality.
Sandry wrote:Bless you, Briareos.
Blriaraisghaasghoasufdpt.
Oregonaut wrote:Briareos is my new bestest friend.
Sir_Elderberry wrote:Cords are not just bendy cylinders. They are flexible, animate beings possessed by spirits whose intentions are beyond our ken. They are Cthulu's tentacles intruding on our reality.
Sir_Elderberry wrote:Cords are not just bendy cylinders. They are flexible, animate beings possessed by spirits whose intentions are beyond our ken. They are Cthulu's tentacles intruding on our reality.

Sir_Elderberry wrote:Cords are not just bendy cylinders. They are flexible, animate beings possessed by spirits whose intentions are beyond our ken. They are Cthulu's tentacles intruding on our reality.
Sir_Elderberry wrote:Cords are not just bendy cylinders. They are flexible, animate beings possessed by spirits whose intentions are beyond our ken. They are Cthulu's tentacles intruding on our reality.
Clojure seems like a really useful language to learn, seeing that it runs on Java virtual machines. Does that mean that after writing my program and compiling it, it can run on any computer on which Java is installed?
@screamer: damn, i just bought a common lisp book. rats. well, i hope that will at least come in handy learning scheme/clojure. i mean, same language, just a different dialect, right?
Ok, now I don't know what to doIn the city library I found a nice thick book about Artificial Intelligence programming, and the source code is written in Common Lisp.
Screamer wrote:Basically, the benefits you get from functional programming are directly proportional to how "strict" you are about it. Unless you treat it as something very different, you don't get much benefit.
Berengal wrote:Screamer wrote:Basically, the benefits you get from functional programming are directly proportional to how "strict" you are about it. Unless you treat it as something very different, you don't get much benefit.
I agree with your first sentiment, but not with your second.
Perhaps I'm just too used to a functional style of programming (Haskell being my main language), but I find I use functional idioms in other languages all the time (depending on how hard they are to use. Java gets little love from me). My pythonic style, for example, is something like regualr python style but with fewer objects and unrestrained use of closures and generators.
Functional programming is more than just functions, and the more functional your language and your style, the better your code will be (in my opinion that is), but even a tiny sprinkle of the functional paradigm can have good benefits.
Screamer wrote:Berengal wrote:Screamer wrote:Basically, the benefits you get from functional programming are directly proportional to how "strict" you are about it. Unless you treat it as something very different, you don't get much benefit.
I agree with your first sentiment, but not with your second.
Perhaps I'm just too used to a functional style of programming (Haskell being my main language), but I find I use functional idioms in other languages all the time (depending on how hard they are to use. Java gets little love from me). My pythonic style, for example, is something like regualr python style but with fewer objects and unrestrained use of closures and generators.
Functional programming is more than just functions, and the more functional your language and your style, the better your code will be (in my opinion that is), but even a tiny sprinkle of the functional paradigm can have good benefits.
Well, relative to Haskell, Python has little of the benefits of fp. Try and do concurrency for example: without referential transparency guarantees and STM, it becomes quite difficult.
Screamer wrote:Kinda. Of the book you've bought, most likely CLOS and LOOP are a complete waste of time. Also, macros vary significantly by dialect.
scarecrovv wrote:Now in all seriousness, if there is something better than CLOS specifically, and Common Lisp in general, I need to know about it before I waste any more time with something big I'm doing in CL (and having a jolly good time with, by the way). If you could point me to a wikipedia article, or something else that would make a great jumping off point for future research, I would be immensely indebted to you. Of course, I'm also about to investigate Clojure now, since you seem to like it.
Another thing that's important to me is either an OpenGL implementation, another other 3D graphics library, or a decent FFI to C.
Screamer wrote:^ Even the people who like Common Lisp use ITERATE. Considering that LOOP is the only constant space iteration facility in CL, what you're saying amounts to "don't loop too much and you'll be fine".
I do not think that CLISP demands this. Scheme definitely demands it, of course.quintopia wrote:(and I do believe that CLISP optimizes tail recursion to be constant space, correct?)
Sandry wrote:Bless you, Briareos.
Blriaraisghaasghoasufdpt.
Oregonaut wrote:Briareos is my new bestest friend.
quintopia wrote:(and I do believe that CLISP optimizes tail recursion to be constant space, correct?)
quintopia wrote:Screamer wrote:^ Even the people who like Common Lisp use ITERATE. Considering that LOOP is the only constant space iteration facility in CL, what you're saying amounts to "don't loop too much and you'll be fine".
Actually, that is what I'm saying. About half the time you can find a recursive method that works just as well (and I do believe that CLISP optimizes tail recursion to be constant space, correct?)
Users browsing this forum: Fekeenuisance and 1 guest