From mboxrd@z Thu Jan 1 00:00:00 1970 Date: Mon, 7 Sep 2009 20:23:19 +0100 From: Eris Discordia To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> Message-ID: In-Reply-To: References: , <936A4BAB-7D9A-4B65-AB6A-C5EEA8E4326C@storytotell.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Subject: Re: [9fans] nice quote Topicbox-Message-UUID: 694fbec8-ead5-11e9-9d60-3106f5b1d025 This thread has grown into a particularly educational one, for me at least, thanks to everyone who posted. Vinu Rajashekhar's two posts were strictly to the point. There _is_ a mental model of the small computer to teach along with Scheme and there are ways to get close to the machine from within Haskell. The suggestion for using tail recursion seemed to serve to cue compiler into transforming the recursion into iteration (in C the programmer would _probably_ have used iteration in the first place). Daniel Lyons' argument goes well with Paul Donnelly's: > I'm only saying that there are a lot of weird ideas about Lisp floating > around which a person can hardly be blamed for picking up on, and these > are the reasons it sounds to me like you have. Regarding where I may have gone wrong about Lisp (besides orthography). At the moment, I am very much intrigued to try learning a functional language even if only to fail again. The hobbyist can experiment at leisure, after all. And the links posted provide quite enough material. As for this direct question: > I must say that the Lisp version is much simpler and clearer to me, while > the C version is mildly baffling. Does that make me a wizard who can > hardly read simple C code, or is it just a matter of what you and I are > respectively more comfortable with? I'd like to concur with the implication that it's all a matter of what mindset one carries but I'm also tempted to exclaim since I find the C version straightforward--it closely follows how one would do a bubble sort on paper. Or perhaps even this assertion is shaped by my personal impressions.