Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
What’s gone wrong with Scheme Macros? Why all the debate?
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  Messages 26 - 50 of 151 - Collapse all  -  Translate all to Translated (View all originals) < Older  Newer >
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
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Software Scavenger  
View profile  
 More options Sep 4 2002, 6:19 pm
Newsgroups: comp.lang.scheme, comp.lang.lisp
From: cubicle...@mailandnews.com (Software Scavenger)
Date: 4 Sep 2002 15:19:57 -0700
Local: Wed, Sep 4 2002 6:19 pm
Subject: Re: What&#8217;s gone wrong with Scheme Macros? Why all the debate?
I've started a new thread for this topic.  The subject line is "Macros
in Common Lisp, Scheme, and other languages".

 
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.
William D Clinger  
View profile  
 More options Sep 4 2002, 6:28 pm
Newsgroups: comp.lang.scheme, comp.lang.lisp
From: ces...@qnci.net (William D Clinger)
Date: 4 Sep 2002 15:28:58 -0700
Local: Wed, Sep 4 2002 6:28 pm
Subject: Re: What&#8217;s gone wrong with Scheme Macros? Why all the debate?

Erik Naggum wrote:
>   Perhaps people who use Common Lisp and Scheme are already adept at writing
>   programs and no longer have the pathetic little problems that so plague the
>   newer languages....

Isn't it pretty to think so?

Ernest Hemingway


 
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.
Erik Naggum  
View profile  
 More options Sep 4 2002, 6:57 pm
Newsgroups: comp.lang.scheme, comp.lang.lisp
From: Erik Naggum <e...@naggum.no>
Date: 04 Sep 2002 22:57:21 +0000
Local: Wed, Sep 4 2002 6:57 pm
Subject: Re: What&#8217;s gone wrong with Scheme Macros? Why all the debate?
* Perry E. Metzger
| What I've noticed in a lot of people in this community (and it really
| is just one community) is a lot of arrogance.

  Funny, that, I see a lot of humility and respect for the opinions and
  thoughts of those older and wiser than oneself.  There is virtually no
  arrogance among the cognoscenti.  My experience has been one of great
  patience and willingness to help those who wish to learn.  However, when
  some arrogant little snot of a newbie walks into the forum only to spout his
  own arrogant views without listening to anybody else, the /newbie/ will
  think this is arrogance.  If you are an arrogant newbie, people around you
  will generally return the favor.  If you are interested in learning things
  from those who know, the Lisp communities are better than most.  Well, at
  least comp.lang.lisp.  The comp.lang.scheme people have generally been on
  the defensive even when they are not attacked in any way, which I can only
  interpret as symptoms of a very /protective/ crowd.  However, it has never
  been /arrogance/ that I have found even in the hostility towards comments on
  the severely limited Scheme model.

| Being a very arrogant person at times, I can perhaps recognize the symptom a
| bit better than most.

  Perhaps you do much too well?  Arrogant people tend to trigger arrogant
  responses from others, too.  It is a stupid human tendency that is only
  changed by limiting or removing one's own arrogance.

| I have often made the mistake of thinking I knew more than I really did, but
| I've been working pretty hard on keeping my mind open instead, and it often
| brings results.

  Most of the people I have found in the Common Lisp community have been well
  aware, not only of how much they know, but of where it came from and how
  they arrived at the conclusions they hold, so that they can communicate this
  to others when they need to defend their opinions.  Rapid internalization of
  new knowledge and the ability to integrate it with other information make it
  possible to produce intelligent observations and connections.  All of these
  attributes indicate both "intelligent" and "observant" to me, and not the
  dumb and judgmental attributes that correlate with arrogance.

| I don't know about that.  I'd expect that if the community was truly vibrant
| we'd be seeing things like equivalents to CPAN and such.

  I think this shows your arrogance more than anything else.  You are obviously
  not willing to consider the fact that CPAN and the like depend on much more
  than "vibrant communities" to exist.  In particular, they depend on the
  comparative worthlessness of the time spent on making software for their
  languages.  When the time you spend writing software is both worth paying
  for and it is worth paying others for their time, you get a vibrant /market/,
  not a vibrant library of free software.  You also do not solve problems that
  people are willing to solve for free.

| I've been programming long enough to know that when you're more concerned
| about what the right comment character is than about writing good comments
| you're not on the level of the important any longer.

  Just so we have this clear: You think somebody is arguing over the right
  comment character?  Where did this happen? And moreover, why is this so
  important to you that you think it reflects on the whole community?

| I also know that the nuts and bolts of getting work done is the petty
| problem of expressing algorithms for execution by machine, not the
| discussion of whether the guys who use language-flavor Y are apostates who
| must be banned from the church.

  And just so we have this clear, too: This happened where?  And it was
  important to you why?  Perhaps I do not understand your problems, like I do
  not understand the most recent troll in comp.lang.lisp who whines about the
  syntax.  Trolls are not representative of the community in any way.  You
  should know this, I think.

| Software, unlike theoretical mathematics, is largely about accomplishing
| things.  That leads people to unfortunate mundane concerns like finding a
| module that builds web pages for you or finding a module that interfaces to
| Oracle or finding a module that does statistical analysis for you. When a
| language's devotees no longer discuss such pragmatic matters and instead
| spend all their energy on religion, it implies they are not writing code.

  I would like you to think about and enumerate the many other assumptions
  that went into this rather strange conclusion.  The most important (at least
  to refute your conclusion) assumption is why these things are important to
  you.  You are undoutedly right that these things happen, just as we find the
  most brilliant mind sometimes uttering stupid comments unwittingly, but does
  that prove anything?  I do not in any way wish to deny that these things are
  sometimes discussed and are consuming the time of many people when they do,
  but I wonder why you select these events and similarly ignore the events when
  people discuss application-oriented aspects equally consumingly.  I tend to
  think of the former as supporting the notion that people want to think in
  their languages an therefore need syntax that fits their thinking.  It is only
  to the very shallow that syntax does not matter.

--
Erik Naggum, Oslo, Norway

Act from reason, and failure makes you rethink and study harder.
Act from faith, and failure makes you blame someone and push harder.


 
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.
Erik Naggum  
View profile  
 More options Sep 4 2002, 7:12 pm
Newsgroups: comp.lang.scheme, comp.lang.lisp
From: Erik Naggum <e...@naggum.no>
Date: 04 Sep 2002 23:12:31 +0000
Local: Wed, Sep 4 2002 7:12 pm
Subject: Re: What&#8217;s gone wrong with Scheme Macros? Why all the debate?
* William D Clinger
| Isn't it pretty to think so?
|
| Ernest Hemingway

  Nice quotation.  Sometimes, I think people think ugly because they do not
  want pretty to be an option in the real world.  There is a implicit accusation
  in this quotation that if it is pretty, it cannot be true, and if you believe
  the pretty option, you are naïve.  This attitude is unfortunately very hard
  to combat, since those who believe in such things are amazingly unwilling to
  accept that the world can have pretty parts when their whole life experience
  has been that none of it is.

--
Erik Naggum, Oslo, Norway

Act from reason, and failure makes you rethink and study harder.
Act from faith, and failure makes you blame someone and push harder.


 
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.
sv0f  
View profile  
 More options Sep 4 2002, 9:50 pm
Newsgroups: comp.lang.lisp
From: n...@vanderbilt.edu (sv0f)
Date: Wed, 04 Sep 2002 20:40:19 -0500
Local: Wed, Sep 4 2002 9:40 pm
Subject: Re: What&#8217;s gone wrong with Scheme Macros? Why all the debate?
In article <878z2h5wkw....@snark.piermont.com>, "Perry E. Metzger"

<pe...@piermont.com> wrote:
>Perhaps, but I doubt it. I've been writing software in a variety of
>languages for... well, I don't want to think about it but I started on
>PDP-8s a long time ago.

Translation: I'm a veteran programmer.  You're not.

>What I've noticed in a lot of people in this community (and it really
>is just one community) is a lot of arrogance.

T: To me, an old and wise outsider, you guys are arrogant.

>I don't know about that. I'd expect that if the community was truly
>vibrant we'd be seeing things like equivalents to CPAN and such.

T: I like Perl.

>I've been programming long enough to know that when you're more
>concerned about what the right comment character is than about writing
>good comments you're not on the level of the important any longer.

T: You'all listen close cuz, once again, I've been programming
a long time.

 
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.
Discussion subject changed to "religion" by Perry E. Metzger
Perry E. Metzger  
View profile  
 More options Sep 4 2002, 10:48 pm
Newsgroups: comp.lang.scheme, comp.lang.lisp
From: "Perry E. Metzger" <pe...@piermont.com>
Date: 04 Sep 2002 22:47:58 -0400
Local: Wed, Sep 4 2002 10:47 pm
Subject: religion

Erik Naggum <e...@naggum.no> writes:
> * Perry E. Metzger
> | What I've noticed in a lot of people in this community (and it really
> | is just one community) is a lot of arrogance.

>   Funny, that, I see a lot of humility and respect for the opinions and
>   thoughts of those older and wiser than oneself.  There is virtually no
>   arrogance among the cognoscenti.

When I asked one of the high cognoscs about the absence of an i/o
multiplexing primitive in his dialect because I needed one for doing
some event driven programming, I was regaled with why event driven
programming is stupid and ugly and I should be using threads
instead. I've had a dozen such experiences of late.

>   My experience has been one of great patience and willingness to
>   help those who wish to learn.  However, when some arrogant little
>   snot of a newbie walks into the forum only to spout his own
>   arrogant views without listening to anybody else, the /newbie/
>   will think this is arrogance.

I think calling anyone an "arrogant little snot" tends to lessen the
power of one's claim to humility, don't you?

> | I don't know about that.  I'd expect that if the community was
> | truly vibrant we'd be seeing things like equivalents to CPAN and such.

>   I think this shows your arrogance more than anything else.  You
>   are obviously not willing to consider the fact that CPAN and the
>   like depend on much more than "vibrant communities" to exist.  In
>   particular, they depend on the comparative worthlessness of the
>   time spent on making software for their languages.

Ah, that explains it. Thank you for enlightening me.

--
Perry E. Metzger                pe...@piermont.com
--
"Ask not what your country can force other people to do for you..."


 
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.
Discussion subject changed to "What&#8217;s gone wrong with Scheme Macros? Why all the debate?" by Stephen J. Bevan
Stephen J. Bevan  
View profile  
 More options Sep 4 2002, 10:48 pm
Newsgroups: comp.lang.scheme, comp.lang.lisp
From: step...@dino.dnsalias.com (Stephen J. Bevan)
Date: Thu, 05 Sep 2002 02:48:18 GMT
Local: Wed, Sep 4 2002 10:48 pm
Subject: Re: What&#8217;s gone wrong with Scheme Macros? Why all the debate?
"Perry E. Metzger" <pe...@piermont.com> writes:

> I don't know about that. I'd expect that if the community was truly
> vibrant we'd be seeing things like equivalents to CPAN and such.

By this measure, which languages are truly vibrant?  I'm particularly
interested in any that have multiple (say >= 3) implementations.

 
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.
Discussion subject changed to "religion" by Thomas Bushnell, BSG
Thomas Bushnell, BSG  
View profile  
 More options Sep 4 2002, 11:10 pm
Newsgroups: comp.lang.scheme, comp.lang.lisp
From: tb+use...@becket.net (Thomas Bushnell, BSG)
Date: 04 Sep 2002 20:04:41 -0700
Local: Wed, Sep 4 2002 11:04 pm
Subject: Re: religion
"Perry E. Metzger" <pe...@piermont.com> writes:

> When I asked one of the high cognoscs about the absence of an i/o
> multiplexing primitive in his dialect because I needed one for doing
> some event driven programming, I was regaled with why event driven
> programming is stupid and ugly and I should be using threads
> instead. I've had a dozen such experiences of late.

I think the cognoscs are right here.  Threads and multiplexing
primitives are duals of each other anyway, so if you are given
threads, you can easily create the multiplexing primitive you want.

But organizing design around non-blocking I/O primitives (from an OS
design standpoint) turns out to be much more complex and error prone
than having straightforward subroutine blocking primitives, and
telling users to use threads if they want multiplexing.

So that's why you get told that: it's actually the right thing.  If
the best way to represent your computation is with a non-blocking or a
multiplexing interface, then it's very easy to implement that using
the threads you've been given.


 
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.
Discussion subject changed to "What&#8217;s gone wrong with Scheme Macros? Why all the debate?" by Perry E. Metzger
Perry E. Metzger  
View profile  
 More options Sep 4 2002, 11:11 pm
Newsgroups: comp.lang.scheme, comp.lang.lisp
From: "Perry E. Metzger" <pe...@piermont.com>
Date: 04 Sep 2002 23:11:06 -0400
Local: Wed, Sep 4 2002 11:11 pm
Subject: Re: What&#8217;s gone wrong with Scheme Macros? Why all the debate?

step...@dino.dnsalias.com (Stephen J. Bevan) writes:

> "Perry E. Metzger" <pe...@piermont.com> writes:
> > I don't know about that. I'd expect that if the community was truly
> > vibrant we'd be seeing things like equivalents to CPAN and such.

> By this measure, which languages are truly vibrant?

Vibrant might be the wrong term. Lets just say "being so actively used
by large communities that lots of tools and libraries are available on
the net".

By that measure, we're talking about C, C++, Java, Perl, Ruby, Tcl/Tk
(Tcl makes my teeth itch but never mind that), Python, and doubtless a
few others I'm forgetting or unaware of.

I'm not passing any moral judgments here, by the way. Just noting
what has become popular enough that you can go out and at will find
yourself books like "Programming the Perl DBI" or libraries to
generate web log templates or what have you. People might discount the
importance of such things, but they're a pretty big part of the way
modern people put together apps. It is a lot easier to steal someone's
RFC822 parser that they've put up on the net than to write one,
regardless of the language, and when there is a critical mass of such
stuff available it makes a difference in your life.

--
Perry E. Metzger                pe...@piermont.com
--
"Ask not what your country can force other people to do for you..."


 
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.
Discussion subject changed to "religion" by Peter Keller
Peter Keller  
View profile  
 More options Sep 4 2002, 11:54 pm
Newsgroups: comp.lang.scheme, comp.lang.lisp
From: Peter Keller <psil...@data.upl.cs.wisc.edu>
Date: 05 Sep 2002 03:54:08 GMT
Local: Wed, Sep 4 2002 11:54 pm
Subject: Re: religion
In comp.lang.scheme Perry E. Metzger <pe...@piermont.com> wrote:

: Erik Naggum <e...@naggum.no> writes:
:> * Perry E. Metzger
:> | I don't know about that.  I'd expect that if the community was
:> | truly vibrant we'd be seeing things like equivalents to CPAN and such.
:>
:>   I think this shows your arrogance more than anything else.  You
:>   are obviously not willing to consider the fact that CPAN and the
:>   like depend on much more than "vibrant communities" to exist.  In
:>   particular, they depend on the comparative worthlessness of the
:>   time spent on making software for their languages.

It is statements like these that cause me to pick another popular C
library to write an FFI interface for in the scheme implementation
I've chosen.

I'm beginning to believe that the reason scheme isn't as popular as the
rest of the languages isn't so much as there are many implementations, but
more so that no-one understands how to market it worth a damn.

Seen any oreilly books on scheme, or scheme interfaces to SQL or anything like
that? My point exactly.

--
-pete

E-mail address corrupted to stop spam.
Reply mail: psilord at cs dot wisc dot edu
I am responsible for what I say, noone else.


 
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.
Erik Naggum  
View profile  
 More options Sep 4 2002, 11:58 pm
Newsgroups: comp.lang.scheme, comp.lang.lisp
From: Erik Naggum <e...@naggum.no>
Date: 05 Sep 2002 03:57:58 +0000
Local: Wed, Sep 4 2002 11:57 pm
Subject: Re: religion
* Perry E. Metzger
| When I asked one of the high cognoscs about the absence of an i/o
| multiplexing primitive in his dialect because I needed one for doing some
| event driven programming, I was regaled with why event driven programming is
| stupid and ugly and I should be using threads instead.  I've had a dozen
| such experiences of late.

  And this is an argument for what, precisely?  Like, /whose/ arrogance?

| I think calling anyone an "arrogant little snot" tends to lessen the power
| of one's claim to humility, don't you?

  No, of course not.  I am humble in the face of the field of mathematics, in
  awe of the great number of geniuses before me, greatly inspired by the works
  of many brilliant minds that could both conceive of the most elegant
  concepts and their intricate interrelationships and formulate them so
  cleanly and briefly in books that I could read and grasp their ideas in but
  a minute fraction of the time it took them to develop them, and yet I am
  disgusted to the deepness of my soul by the lack of even the most basic
  arithmetical skills and the rampant innumeracy of many journalists and
  politicians, because those are people who are so unequivocally /not/ humble
  in the face of mathematics, lacking any and all appreciation of the field,
  yet have the gall to abuse simple results in the field in a way that shows
  an utter disrespect for all the great minds that made it possible for them
  to have a chance to grasp mathematical ideas in their compulsory education,
  but discarded that chance and instead spit in the face of every mathematical
  thinker with their every breath.

| Ah, that explains it. Thank you for enlightening me.

  You're welcome.  I note that the intelligent /exchange/ of ideas has ceased.

--
Erik Naggum, Oslo, Norway

Act from reason, and failure makes you rethink and study harder.
Act from faith, and failure makes you blame someone and push harder.


 
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.
Discussion subject changed to "What&#8217;s gone wrong with Scheme Macros? Why all the debate?" by Christopher Browne
Christopher Browne  
View profile  
 More options Sep 5 2002, 12:07 am
Newsgroups: comp.lang.scheme, comp.lang.lisp
From: Christopher Browne <cbbro...@acm.org>
Date: 5 Sep 2002 04:07:40 GMT
Local: Thurs, Sep 5 2002 12:07 am
Subject: Re: What&#8217;s gone wrong with Scheme Macros? Why all the debate?
In an attempt to throw the authorities off his trail, "Perry E. Metzger" <pe...@piermont.com> transmitted:

> I don't know about that. I'd expect that if the community was truly
> vibrant we'd be seeing things like equivalents to CPAN and such. It is
> not disgraceful to say "I'm writing an application that needs to
> interface with database X, anyone have a binding written already" or
> what have you. Perhaps the Lisp community is beyond actually having to
> use its language day to day but I doubt that.

I think we _are_ seeing something like CPAN in the form of CCLAN.

The efforts are somewhat less integrated and less coherent than is the
case for Perl (or Python, or Ruby, with their respective communities),
but that isn't _too_ surprising what with there being an actually
diverse set of Common Lisp implementations.  

There is _somewhat_ less demand for CPAN-like stuff for Common Lisp
since the base language has a bit more in it.  

It is _somewhat_ more difficult to construct CPAN-like stuff because
there are a multiplicity of CL implementations.

On the Scheme side of the fence, it's _much_ more difficult to see
common code get deployed for a multiplicity of Scheme implementations
because the base language is so much smaller.  The SRFI process is
nonetheless supplying at least _some_ of this.  And we periodically
hear more about things designed for scsh getting ported more widely
:-).
--
(concatenate 'string "cbbrowne" "@ntlug.org")
http://www.ntlug.org/~cbbrowne/lisp.html
"High-level languages are a pretty good indicator that all else is
seldom equal." - Tim Bradshaw, comp.lang.lisp


 
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.
Discussion subject changed to "religion" by Erik Naggum
Erik Naggum  
View profile  
 More options Sep 5 2002, 12:08 am
Newsgroups: comp.lang.scheme, comp.lang.lisp
From: Erik Naggum <e...@naggum.no>
Date: 05 Sep 2002 04:08:16 +0000
Local: Thurs, Sep 5 2002 12:08 am
Subject: Re: religion
* Peter Keller <psil...@data.upl.cs.wisc.edu>
| It is statements like these that cause me to pick another popular C library
| to write an FFI interface for in the scheme implementation I've chosen.

  No, it is not.  If you had understood the word "comparative", you would not
  have been able to use my statements to support your preconceived notions.

--
Erik Naggum, Oslo, Norway

Act from reason, and failure makes you rethink and study harder.
Act from faith, and failure makes you blame someone and push harder.


 
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.
Discussion subject changed to "What&#8217;s gone wrong with Scheme Macros? Why all the debate?" by Kenny Tilton
Kenny Tilton  
View profile  
 More options Sep 5 2002, 12:12 am
Newsgroups: comp.lang.scheme, comp.lang.lisp
From: Kenny Tilton <ktil...@nyc.rr.com>
Date: Thu, 05 Sep 2002 04:11:56 GMT
Local: Thurs, Sep 5 2002 12:11 am
Subject: Re: What&#8217;s gone wrong with Scheme Macros? Why all the debate?

Perry E. Metzger wrote:
> I'm not passing any moral judgments here, by the way. Just noting
> what has become popular enough that you can go out and at will find
> yourself books like ...

Then let's not leave COBOL and Pascal off the "vibrant" list. Remember
those popular languages?

kenny


 
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.
Discussion subject changed to "religion" by Christopher Browne
Christopher Browne  
View profile  
 More options Sep 5 2002, 12:35 am
Newsgroups: comp.lang.lisp, comp.lang.scheme
From: Christopher Browne <cbbro...@acm.org>
Date: 5 Sep 2002 04:35:04 GMT
Local: Thurs, Sep 5 2002 12:35 am
Subject: Re: religion
In the last exciting episode, Peter Keller <psil...@data.upl.cs.wisc.edu> wrote::

> I'm beginning to believe that the reason scheme isn't as popular as
> the rest of the languages isn't so much as there are many
> implementations, but more so that no-one understands how to market
> it worth a damn.
> Seen any oreilly books on scheme, or scheme interfaces to SQL or
> anything like that? My point exactly.

O'Reilly also doesn't have books on Common Lisp, and aren't accepting
new titles on TeX or _any_ form of Lisp, so I'd not count that as
being of much interest.

And the following bit of Guile code does _exactly_ what it would be
expected to do, namely interface with PostgreSQL, and pull a set of
entries.

(use-modules (database postgres))
(define test (pg-connectdb "dbname=sqlledger"))
(define result (pg-exec test "select * from zipcode"))
(let loop ((index 0))
   (if (< index (pg-ntuples result))
       (begin
          (display (pg-getvalue result index 0))
          (display (pg-getvalue result index 1))
          (display (pg-getvalue result index 2))
          (display (pg-getvalue result index 3))
          (display (pg-getvalue result index 4))
          (newline)
          (loop (+ index 1)))))

The PG binding is a little more "primitive" than you'd usually use in
CL, basically eschewing all use of macros, and not really providing
any help with transactions/cursors (both being places where some
well-place macros would be _really_ useful).

But it exists, and it works, and I just used it to blow up an Emacs
buffer by showing 80,000-odd zipcodes.
--
(concatenate 'string "aa454" "@freenet.carleton.ca")
http://cbbrowne.com/info/oses.html
Coming  Soon  to a  Mainframe  Near  You!   MICROS~1 Windows  NT  6.0,
complete with VISUAL JCL...


 
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.
Discussion subject changed to "What&#8217;s gone wrong with Scheme Macros? Why all the debate?" by Perry E. Metzger
Perry E. Metzger  
View profile  
 More options Sep 5 2002, 12:37 am
Newsgroups: comp.lang.scheme, comp.lang.lisp
From: "Perry E. Metzger" <pe...@piermont.com>
Date: 05 Sep 2002 00:37:44 -0400
Local: Thurs, Sep 5 2002 12:37 am
Subject: Re: What&#8217;s gone wrong with Scheme Macros? Why all the debate?

Kenny Tilton <ktil...@nyc.rr.com> writes:
> Perry E. Metzger wrote:
> > I'm not passing any moral judgments here, by the way. Just noting
> > what has become popular enough that you can go out and at will find
> > yourself books like ...

> Then let's not leave COBOL and Pascal off the "vibrant" list.

I'm afraid I must. I can't find large COBOL libraries anywhere on the
net, and there isn't any place to find large Pascal libraries,
either. The same can't be said about C or Python.

--
Perry E. Metzger                pe...@piermont.com
--
"Ask not what your country can force other people to do for you..."


 
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.
Discussion subject changed to "religion" by Peter Keller
Peter Keller  
View profile  
 More options Sep 5 2002, 12:52 am
Newsgroups: comp.lang.scheme, comp.lang.lisp
From: Peter Keller <psil...@data.upl.cs.wisc.edu>
Date: 05 Sep 2002 04:52:23 GMT
Local: Thurs, Sep 5 2002 12:52 am
Subject: Re: religion
In comp.lang.scheme Erik Naggum <e...@naggum.no> wrote:
: * Peter Keller <psil...@data.upl.cs.wisc.edu>
: | It is statements like these that cause me to pick another popular C library
: | to write an FFI interface for in the scheme implementation I've chosen.

:   No, it is not.  If you had understood the word "comparative", you would not
:   have been able to use my statements to support your preconceived notions.

SunOS buzzard > webster comparative
 1 com.par.a.tive adj  \k*m-'par-*t-iv\
      1 : of, relating to, or constituting the degree of comparison in
          a language that denotes increase in the quality, quantity, or
          relation expressed by an adjective or adverb
      2 : considered as if in comparison to something else as a
          standard not quite attained : RELATIVE [~
          stranger]
      3 : studied systematically by comparison of phenomena [~
          literature]
    com.par.a.tive.ly adv
    com.par.a.tive.ness n
 2 comparative n
      1 : one that compares with another esp. on equal footing
          : RIVAL; specif : one that makes witty
          or mocking comparisons
      2 : the comparative degree or form in a language

I'm sorry, but I guess I just don't understand how you wanted to use it in
the context with "worthless".

--
-pete

E-mail address corrupted to stop spam.
Reply mail: psilord at cs dot wisc dot edu
I am responsible for what I say, noone else.


 
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.
Perry E. Metzger  
View profile  
 More options Sep 5 2002, 1:00 am
Newsgroups: comp.lang.scheme, comp.lang.lisp
From: "Perry E. Metzger" <pe...@piermont.com>
Date: 05 Sep 2002 01:00:48 -0400
Local: Thurs, Sep 5 2002 1:00 am
Subject: Re: religion

I promised someone that I was off this thread, but I will answer this
one last message on it.

tb+use...@becket.net (Thomas Bushnell, BSG) writes:

> "Perry E. Metzger" <pe...@piermont.com> writes:
> > When I asked one of the high cognoscs about the absence of an i/o
> > multiplexing primitive in his dialect because I needed one for doing
> > some event driven programming, I was regaled with why event driven
> > programming is stupid and ugly and I should be using threads
> > instead. I've had a dozen such experiences of late.

> I think the cognoscs are right here.  Threads and multiplexing
> primitives are duals of each other anyway,

Actually, they aren't in practice -- there's a huge performance
difference. I could go into a long argument on why it is that event
driven programs are actually quite straightforward to write (they are
no more alien than functional programming is -- it is just a different
style), why they are much easier to write than thread driven programs
for certain applications (among other things, you end up with much
more elegant designs), and why in general the performance on real
hardware of event driven code is going to always be better than that
of thread driven code. I think this is all a digression though. We
aren't talking about threads vs. events. We're talking about an
attitude in the community.

The annoyance here is people assuming they know "the right thing" and
attempting to impose it, assuming they know more than the person
inquiring about his problem space. Maybe someone for whatever reason
needs to do something you don't particularly like -- work in an object
oriented style or a logic programming style or whatever style you
happen not to agree with this week. You aren't likely to be "right"
when you tell them "no that's stupid", you're just likely to be
expressing taste rather than "The Truth".

The Truth is that there isn't always a The Truth. Just because there
are problems with object systems doesn't mean objects are always
stupid. Just because you don't like someone writing a network protocol
that uses XML instead of sexprs doesn't mean that they don't have to
interface with something someone else built regardless of your
taste. Just because you might think there are no conditions in which
it might be better to do non-compacting garbage collection doesn't
mean someone might not have a condition in which he needs a
non-compacting collector, etc.

At best you can say "my experience is that it would be better for you
to use a hash table for this instead of a PATRICIA tree, but you can
implement the PATRICIA tree using structures this way..." and hell,
maybe it even turns out that the guy knows more about routing than you
do because he's a routing guy and you aren't and PATRICIA trees are
optimal for that problem.

> So that's why you get told that: it's actually the right thing.

I find in general that The Right Thing is hard to impose. I was
running a NetBSD related company for a couple of years. I found that
people want threads for some apps, and even though I didn't like
threads, I paid someone to work on a better performing threads
mechanism because some people find they're more convenient some of the
time than the techniques I prefer.

I could have told those people that they were idiots but they weren't
idiots -- they had reasons for wanting to use a technique other than
the one I found ideal and I couldn't really claim to understand their
problem domain as well as they did, so I shut up and worked on giving
them what they needed rather than what I felt The Right Thing was. I
had no idea if my notion of The Right Thing was right anyway. I am not
omniscient, and this is engineering, not mathematics.

In general, the languages and systems that win are the ones with the
least ideological axe to grind. I find that's true with people, too.

--
Perry E. Metzger                pe...@piermont.com
--
"Ask not what your country can force other people to do for you..."


 
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.
Ray Blaak  
View profile  
 More options Sep 5 2002, 1:34 am
Newsgroups: comp.lang.scheme, comp.lang.lisp
From: Ray Blaak <bl...@telus.net>
Date: Thu, 05 Sep 2002 05:34:52 GMT
Local: Thurs, Sep 5 2002 1:34 am
Subject: Re: religion
"Perry E. Metzger" <pe...@piermont.com> writes:

> The Truth is that there isn't always a The Truth.

Amen brother!

Seriously, hanging out on both c.l.l and c.l.s will quickly demonstrate that
the viritol level in the former is much much higher. Whether it is political
or religious is rather irrelevant, c.l.l is simply more intolerant.

--
Cheers,                                        The Rhythm is around me,
                                               The Rhythm has control.
Ray Blaak                                      The Rhythm is inside me,
bl...@telus.net                                The Rhythm has my soul.


 
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.
Peter Keller  
View profile  
 More options Sep 5 2002, 2:11 am
Newsgroups: comp.lang.lisp, comp.lang.scheme
From: Peter Keller <psil...@data.upl.cs.wisc.edu>
Date: 05 Sep 2002 05:58:12 GMT
Local: Thurs, Sep 5 2002 1:58 am
Subject: Re: religion
In comp.lang.scheme Christopher Browne <cbbro...@acm.org> wrote:
: In the last exciting episode, Peter Keller <psil...@data.upl.cs.wisc.edu> wrote::
:> I'm beginning to believe that the reason scheme isn't as popular as
:> the rest of the languages isn't so much as there are many
:> implementations, but more so that no-one understands how to market
:> it worth a damn.

:> Seen any oreilly books on scheme, or scheme interfaces to SQL or
:> anything like that? My point exactly.

: O'Reilly also doesn't have books on Common Lisp, and aren't accepting
: new titles on TeX or _any_ form of Lisp, so I'd not count that as
: being of much interest.

Well, I can buy an oreilly book on "mastering regular expressions" but not
"mastering macros". Why? Why doesn't oreilly accept books for lisp-like
lanauges, and why isn't there a book out there like a "macro cookbook"
which talks about the various forms of macro representation and what
you can do with them with good *and relevant* examples by any publisher
at all? The regex book pulled it off and there are a BUNCH of regular
expression styles out there that are incompatible.

: And the following bit of Guile code does _exactly_ what it would be
: expected to do, namely interface with PostgreSQL, and pull a set of
: entries.

I wasn't talking about implementations. I was talking about why I can
wander to a book store and see shelf upon shelf of ASP/JAVA/PERL/C++/SQL
books and then find exactly one grungy SICP book mislocated into the
COBOL section--the only scheme book to be found.

<rant>
You want religion? I'll give you religion:

So, I'm sitting at work and my office mate says he wants to learn scheme
to implement a project that scheme would be a perfect match for. So,
I get to helping him learn it, but he is obviously shy about it. So,
I ask him about it and do you know what he says?

"Scheme and Lisp, in general, are pretentious. It tries to be a magic
bullet which attempts to solve all problems but the solutions it comes
up with (everything is a heterogeneous list, strange typechecking, wierd
development environment, strange/bad error reporting) just get in the
way of doing "real work". Also, they think their way is the "right and
only way" and that just bothers me."

I didn't know how to answer him other than some fast excuse that scheme is
just like any other language, you just have to think a little differently
to use its full potential. To which he scowled at me, as if I had made
true his thoughts about the subject, but continued to learn it because
scheme really WAS the best solution for his problem.  
</rant>

It is this kind of stigma that is the reason scheme isn't popular. I don't
know how to stop it or break it, other than to continue to implement
tools and libraries for a *single* implementation--and make them widely
known, so more people get exposed to it. The more people that get exposed
to something that works, meaning _useful_ and _public_ tools get written in it,
the more people will start to use it and not care about "religion".

As for me? I don't give a rats ass about religion, flamewars, or the
"right way" to do things or any of that shit. I just care if it works,
it is a "reasonable" implementation, and is understandable by the next
person when I leave.

That is all.

--
-pete

E-mail address corrupted to stop spam.
Reply mail: psilord at cs dot wisc dot edu
I am responsible for what I say, noone else.


 
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.
Discussion subject changed to "What&#8217;s gone wrong with Scheme Macros? Why all the debate?" by Stephen J. Bevan
Stephen J. Bevan  
View profile  
 More options Sep 5 2002, 2:16 am
Newsgroups: comp.lang.scheme, comp.lang.lisp
From: step...@dino.dnsalias.com (Stephen J. Bevan)
Date: Thu, 05 Sep 2002 06:16:34 GMT
Local: Thurs, Sep 5 2002 2:16 am
Subject: Re: What&#8217;s gone wrong with Scheme Macros? Why all the debate?
"Perry E. Metzger" <pe...@piermont.com> writes:

> Vibrant might be the wrong term. Lets just say "being so actively used
> by large communities that lots of tools and libraries are available on
> the net".

> By that measure, we're talking about C, C++, Java, Perl, Ruby, Tcl/Tk
> (Tcl makes my teeth itch but never mind that), Python, and doubtless a
> few others I'm forgetting or unaware of.

Of these only C, C++ and Java pass my arbitrary "more than 3
implementations" requirement.  Even there Java stands out from the
other two in that while there are multiple implementations, Sun pretty
much dictates the direction of Java in the same way that the authors
of the single implementation languages do.

That leaves C and C++, neither of which have anything like CPAN.
Instead you can find various libraries in many places, which vary from
working on almost all implementations to those which work only on
specific platforms or even specific compilers (e.g. Linux kernel isn't
going to compile with anything but gcc anytime soon).

So two possible broad categories of vibrant languages :-

  1. Languages in which a single person/company controls the language.
  2. C/C++

or another possible split is :-

  a. "scripting" language with one (or two) implementation(s)
  b. C/C++/Java

None of the following fit into any category: Ada, APL, Common Lisp,
Forth, Haskell, Scheme, SML and Smalltalk.  All have some archives,
but nothing that approaches CPAN.  There are also some languages that
do fit in category 1 such as Clean, Erlang and O'Caml which also don't
have anything that approaches CPAN (though Caml Hump is pretty
impressive).

The point being that compared to C/C++/Java and a handful of scripting
languages it seems that no languages are vibrant.


 
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.
Discussion subject changed to "religion" by Friedrich Dominicus
Friedrich Dominicus  
View profile  
 More options Sep 5 2002, 2:25 am
Newsgroups: comp.lang.lisp, comp.lang.scheme
Followup-To: comp.lang.lisp
From: Friedrich Dominicus <fr...@q-software-solutions.com>
Date: 05 Sep 2002 08:26:15 +0200
Local: Thurs, Sep 5 2002 2:26 am
Subject: Re: religion

what's wrong with OnLisp?
http://www.paulgraham.com/onlisptext.html

It does exactly what you ask for explaining Macros.

Regards
Friedrich


 
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.
Stephen J. Bevan  
View profile  
 More options Sep 5 2002, 2:27 am
Newsgroups: comp.lang.scheme, comp.lang.lisp
From: step...@dino.dnsalias.com (Stephen J. Bevan)
Date: Thu, 05 Sep 2002 06:27:34 GMT
Local: Thurs, Sep 5 2002 2:27 am
Subject: Re: religion
tb+use...@becket.net (Thomas Bushnell, BSG) writes:

> I think the cognoscs are right here.  Threads and multiplexing
> primitives are duals of each other anyway, so if you are given
> threads, you can easily create the multiplexing primitive you want.

In theory.  In practice I can't get a small Solaris, Linux, FreeBSD,
OpenBSD ... etc. box to run very well with 10,000 threads (one per
connection) but I can get it to run quite well with 10,000 connections
all being served by a single /dev/poll, kqueue or poll (ugh).  If
someone can make 10,000 threads run well on these platforms I'll give
up event driven approach in a flash.  I'm not holding my breath
though.

 
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.
Peter Keller  
View profile  
 More options Sep 5 2002, 2:38 am
Newsgroups: comp.lang.lisp
From: Peter Keller <psil...@data.upl.cs.wisc.edu>
Date: 05 Sep 2002 06:38:08 GMT
Local: Thurs, Sep 5 2002 2:38 am
Subject: Re: religion
In comp.lang.scheme Friedrich Dominicus <fr...@q-software-solutions.com> wrote:
: what's wrong with OnLisp?
: http://www.paulgraham.com/onlisptext.html

: It does exactly what you ask for explaining Macros.

Hmm.... nothing is wrong with it, other than I didn't know about it. :)
I usually only code in the scheme domains, not full common lisp.

Does it describe R5RS macros too? Or can the techniques in this book be
readily translated to R5RS macros as well?

--
-pete

E-mail address corrupted to stop spam.
Reply mail: psilord at cs dot wisc dot edu
I am responsible for what I say, noone else.


 
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.
Erik Naggum  
View profile  
 More options Sep 5 2002, 3:22 am
Newsgroups: comp.lang.scheme, comp.lang.lisp
From: Erik Naggum <e...@naggum.no>
Date: 05 Sep 2002 07:22:30 +0000
Local: Thurs, Sep 5 2002 3:22 am
Subject: Re: religion
* Ray Blaak <bl...@telus.net>
| Seriously, hanging out on both c.l.l and c.l.s will quickly demonstrate that
| the viritol level in the former is much much higher. Whether it is political
| or religious is rather irrelevant, c.l.l is simply more intolerant.

  Towards what?  We have more people in comp.lang.lisp who spend all their
  time complaining vociferously about how intolerant the newsgroup is, yet
  they have nothing whatsoever to communicate to anybody.  If you have any
  brilliant ideas for how to make sure that /nobody/ will respond to these
  cretins, please share your insight with you.  If, however, all you wish to
  do is complain, too, consider yourself part of the problem.  Sheesh.

--
Erik Naggum, Oslo, Norway

Act from reason, and failure makes you rethink and study harder.
Act from faith, and failure makes you blame someone and push harder.


 
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.
Messages 26 - 50 of 151 < Older  Newer >
« Back to Discussions « Newer topic     Older topic »