From: Pascal J. Bourguignon on
vaib <vaibhavpanghal(a)gmail.com> writes:

> On Jan 11, 6:39�pm, James Dow Allen <jdallen2...(a)yahoo.com> wrote:
>> On Jan 11, 6:37�am, p...(a)informatimago.com (Pascal J. Bourguignon)
>> wrote:
>>
>>
>>
>> > vaib <vaibhavpang...(a)gmail.com> writes:
>> > > I dont want to learn programming in general since I do a lot of it in
>> > > my office and I've done a lot of it in the past...ofcourse,
>> > > programming for fun is my second nature ..!!
>> > ...
>> > > So could anyone tell me what are the power features of say, scheme (to
>> > > start with) and suggest some project assignment ?
>>
>> > I would advise you to read SICP and to watch the lectures.
>>
>> > SICP � = Structure and Interpretation of Computer Programs
>> > � � � � �http://mitpress.mit.edu/sicp/full-text/book/book-Z-H-4.html
>> > � � � � �http://swiss.csail.mit.edu/classes/6.001/abelson-sussman-lectures/
>> > � � � � �http://www.codepoetics.com/wiki/index.php?title=Topics:SICP_in_other_...
>> > � � � � �http://eli.thegreenplace.net/category/programming/lisp/sicp/
>> > � � � � �http://www.neilvandyke.org/sicp-plt/
>>
>> I doubt these links are what OP seeks. �(They certainly wouldn't be
>> what I wanted, had I asked a similar question.)
>>
>> I checked Sections 2.1 and 2.4 in the book the first link links to.
>> The closest thing there to "computer science" was that to
>> distinguish two different representations of complex numbers
>> one adds a ... Type Tag! �(The two other links I checked were
>> worth even less ... one linked to huge video files. �Surely
>> I'm not the only one who prefers text because I can browse
>> or search at my own speed ...)
>>
>> James Dow Allen
>
> Yes you are absolutely correct. Scheme is about functional paradigm

You are wrong. Scheme and lisp are not about functional paradigm. If
they were, they wouldn't have so many mutation primitives.

If you want to learn functionnal paradigm, learn Haskell or ML.

If you want to learn what scheme and lisp are about, read SICP.


--
__Pascal Bourguignon__ http://www.informatimago.com/
From: vaib on
On Jan 12, 5:25 am, p...(a)informatimago.com (Pascal J. Bourguignon)
wrote:
> vaib <vaibhavpang...(a)gmail.com> writes:
> > On Jan 11, 6:39 pm, James Dow Allen <jdallen2...(a)yahoo.com> wrote:
> >> On Jan 11, 6:37 am, p...(a)informatimago.com (Pascal J. Bourguignon)
> >> wrote:
>
> >> > vaib <vaibhavpang...(a)gmail.com> writes:
> >> > > I dont want to learn programming in general since I do a lot of it in
> >> > > my office and I've done a lot of it in the past...ofcourse,
> >> > > programming for fun is my second nature ..!!
> >> > ...
> >> > > So could anyone tell me what are the power features of say, scheme (to
> >> > > start with) and suggest some project assignment ?
>
> >> > I would advise you to read SICP and to watch the lectures.
>
> >> > SICP = Structure and Interpretation of Computer Programs
> >> >http://mitpress.mit.edu/sicp/full-text/book/book-Z-H-4.html
> >> >http://swiss.csail.mit.edu/classes/6.001/abelson-sussman-lectures/
> >> >http://www.codepoetics.com/wiki/index.php?title=Topics:SICP_in_other_...
> >> >http://eli.thegreenplace.net/category/programming/lisp/sicp/
> >> >http://www.neilvandyke.org/sicp-plt/
>
> >> I doubt these links are what OP seeks. (They certainly wouldn't be
> >> what I wanted, had I asked a similar question.)
>
> >> I checked Sections 2.1 and 2.4 in the book the first link links to.
> >> The closest thing there to "computer science" was that to
> >> distinguish two different representations of complex numbers
> >> one adds a ... Type Tag! (The two other links I checked were
> >> worth even less ... one linked to huge video files. Surely
> >> I'm not the only one who prefers text because I can browse
> >> or search at my own speed ...)
>
> >> James Dow Allen
>
> > Yes you are absolutely correct. Scheme is about functional paradigm
>
> You are wrong.  Scheme and lisp are not about functional paradigm.  If
> they were, they wouldn't have so many mutation primitives.
>
> If you want to learn functionnal paradigm, learn Haskell or ML.
>
> If you want to learn what scheme and lisp are about, read SICP.
>
> --
> __Pascal Bourguignon__                    http://www.informatimago.com/- Hide quoted text -
>
> - Show quoted text -

Alright. I basically want to learn all the different paradigms of
programming. Having done ( and applied ) OOP and procedural
programming I was thinking of moving to functional paradigm. Since I
had heard that scheme is usually taught for teaching functional
paradigm so I thought of making a project in it.

So do you really suggest that in order to learn about functional
paradigm approach I should build a project in Haskell rather than
Scheme ??

Now after this last post I am really confused.

Help please..

Thanking in anticipation.

- Vaibhav
From: Colin Paul Gloster on
On Tue, 12 Jan 2010, Vaibhav wrote:

|-----------------------------------------------------------------|
|"[..] |
| |
|So do you really suggest that in order to learn about functional |
|paradigm approach I should build a project in Haskell rather than|
|Scheme ?? |
| |
|Now after this last post I am really confused. |
| |
|Help please.. |
| |
|Thanking in anticipation. |
| |
|- Vaibhav" |
|-----------------------------------------------------------------|

Jon Harrop has recommended F# instead of Haskell for functional
programming:
WWW.FFConsultancy.com
From: Patricia Shanahan on
vaib wrote:
....
> Alright. I basically want to learn all the different paradigms of
> programming. Having done ( and applied ) OOP and procedural
> programming I was thinking of moving to functional paradigm. Since I
> had heard that scheme is usually taught for teaching functional
> paradigm so I thought of making a project in it.
....

If the real objective is to learn functional programming, I would go at
it the other way round. Find a book you like on the subject. It will use
one or more languages to illustrate the examples. Learn those languages
in parallel with reading the book.

When you know enough about functional programming to be inspired with
some project that would be better done in it rather than OO or
procedural, start on the project. Alternatively, it might be interesting
to take a project you have already implemented and rewrite it in a
functional language to see the differences.

Patricia
From: Piotr Chamera on
vaib wrote:

> yes Scheme is about functional programming paradigm I guess. So I was
> looking to make something in that direction.

Scheme and Lisps generally are multiparadigm languages. You can program
in procedural, object oriented, functional... style. Confusion with
Sheme is from wide use of it in education but even mentioned erlier SICP
shows many paradigms (mutation, objects...)

Their main differences from C and Java world is symbol manipulation,
program as data (homoiconicity), powerfull macros, REPL (diffrent
code writing cycle), dynamic typing...