Search found 3 matches

by leirbag75
Fri Mar 31, 2017 5:36 pm
Forum: Common Lisp
Topic: Functional Programming vs. Unnecessary Consing
Replies: 4
Views: 15174

Re: Functional Programming vs. Unnecessary Consing

OK, after implementing monads in Lisp just for the heck of it and seeing how wasteful of space it is, I think I'll assume my example was an inappropriate use of the functional paradigm. The time difference wasn't ridiculous, but the space difference was already big enough for a short, simple test th...
by leirbag75
Fri Mar 31, 2017 10:42 am
Forum: Common Lisp
Topic: Functional Programming vs. Unnecessary Consing
Replies: 4
Views: 15174

Re: Functional Programming vs. Unnecessary Consing

Thanks for the reply. That's good to know about the style guide. The thing is, you say to solve real-world problems, but that's kind of begging the question, because before I can solve real-world problems I have to know how to solve them. I could solve them in a purely functional way, or I could sol...
by leirbag75
Wed Mar 29, 2017 12:07 pm
Forum: Common Lisp
Topic: Functional Programming vs. Unnecessary Consing
Replies: 4
Views: 15174

Functional Programming vs. Unnecessary Consing

This is my first post, so sorry if I'm asking something someone else has already asked about. I've Googled this question over and over, but nothing relevant seems to come up. People say that in Lisp, you should write in a mostly functional style. But they also say that you should avoid unnecessary c...