Google Groups Home
Help | Sign in
Message from discussion Lisp for enterprise computing?
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
Scott Burson  
View profile
 More options Mar 18, 3:39 am
Newsgroups: comp.lang.lisp
From: Scott Burson <FSet....@gmail.com>
Date: Tue, 18 Mar 2008 00:39:06 -0700 (PDT)
Local: Tues, Mar 18 2008 3:39 am
Subject: Re: Lisp for enterprise computing?
On Mar 17, 6:52 am, Harry <simonsha...@gmail.com> wrote:

> 4. How much of a pure functional style of programming (with no setf's)
> could be used in building a non-trivial enterprise application?  I'm
> coming from primarily an imperative programming background (Java/C/C+
> +) and am wondering how could one possibly write a nontrivial/large
> application without side-effects!

I think I work harder than the vast majority of Lisp programmers at
using a functional style whenever it makes sense, but I've never tried
to write an entire application without side effects, nor would I
recommend such an undertaking to someone in your situation.  (As a
research exercise it might be interesting, but you need to write code
that your colleagues could have some hope of maintaining.)

I will, however, take the opportunity to recommend FSet, my functional
collections package for Common Lisp:

  http://common-lisp.net/project/fset/

Well, I'm not saying you should try to use FSet from the beginning.
First you need to learn to use lists in a functional way.  But as you
write Lisp applications, sooner or later you will come to a point
where some part of your code is using lists that are getting too long
to be efficient (since, for instance, finding something in a list
requires a linear search).  At that point you might consider
substituting an FSet type for the long list.  (Lisp also offers
vectors and hash tables, but these are imperative types.)

Of course, this would be easier if I had gotten around to writing any
tutorial material for FSet, which I have not :(

-- Scott


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2008 Google