newbie question

This is a discussion on newbie question within the lisp forums in Programming Languages category; On Jan 3, 9:37 pm, Ken Tilton <kennytil...@optonline.net> wrote: > viper-2 wrote: > > On Jan 3, 11:51 am, Tzury Bar Yochay <Afro.Syst...@gmail.com> wrote: > > >>I am starting now learning common lisp. > >>here is a function which meant to return all elements found in list1 > >>which dose not exists on list 2. > > > If you're really just beginning Lisp I believe you should be working > > on becoming comfortable with recursion, before considering iteration. > > Scheme is the dreamy idealistic language for crap like that, CL is for > practical people trying to ...

Go Back   Application Development Forum > Programming Languages > lisp

Object Mix

Register FAQ Calendar Search Today's Posts Mark Forums Read
  #11  
Old 01-04-2008, 08:50 AM
viper-2
Guest
 
Default Re: newbie question

On Jan 3, 9:37 pm, Ken Tilton <kennytil...@optonline.net> wrote:
> viper-2 wrote:
> > On Jan 3, 11:51 am, Tzury Bar Yochay <Afro.Syst...@gmail.com> wrote:

>
> >>I am starting now learning common lisp.
> >>here is a function which meant to return all elements found in list1
> >>which dose not exists on list 2.

>
> > If you're really just beginning Lisp I believe you should be working
> > on becoming comfortable with recursion, before considering iteration.

>
> Scheme is the dreamy idealistic language for crap like that, CL is for
> practical people trying to get work done and the first thing a Lisper
> needs to learn after how conses work is to use the right tool for the
> job and loop is the right tool for iteration which this example requires.
>
> Recursion is great fun and should be used only when a task cannot be
> completed on one element without the result of that task performed on
> subsequent elements.



Now, that definitely sounds loopy ;-)

agt

Reply With Quote
  #12  
Old 01-19-2008, 08:02 AM
viper-2
Guest
 
Default Re: newbie question

On Jan 4, 8:50 am, viper-2 <visio...@mail.infochan.com> wrote:
> On Jan 3, 9:37 pm, Ken Tilton <kennytil...@optonline.net> wrote:
>
>
>
> > viper-2 wrote:
> > > On Jan 3, 11:51 am, Tzury Bar Yochay <Afro.Syst...@gmail.com> wrote:

>
> > >>I am starting now learning common lisp.
> > >>here is a function which meant to return all elements found in list1
> > >>which dose not exists on list 2.

>
> > > If you're really just beginning Lisp I believe you should be working
> > > on becoming comfortable with recursion, before considering iteration.

>
> > Scheme is the dreamy idealistic language for crap like that, CL is for
> > practical people trying to get work done and the first thing a Lisper
> > needs to learn after how conses work is to use the right tool for the
> > job and loop is the right tool for iteration which this example requires.

>
> > Recursion is great fun and should be used only when a task cannot be
> > completed on one element without the result of that task performed on
> > subsequent elements.

>
> Now, that definitely sounds loopy ;-)
>
> agt


This thread is missing from my profile. Is there sometimes a problem
with indexing?

agt
Reply With Quote
Reply


Thread Tools
Display Modes


All times are GMT -5. The time now is 10:15 PM.


Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
vB Ad Management by =RedTyger=

In an effort to better serve ads to our visitors, cookies are used on objectmix.com. For more information, check out our Privacy Policy.