[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: C++ declaration style programming?
From: |
Han-Wen Nienhuys |
Subject: |
Re: C++ declaration style programming? |
Date: |
Wed, 21 Jan 2004 13:45:00 +0100 |
address@hidden writes:
> > This can presumably be done by writing a macro begin-let* that expands
> > the statement list in a suitably nested let*
> >
> > However, I was wondering whether there exists a standard library
> > syntax mechanism that lets me write code in this fashion.
>
> Viktor Pavlenko is correct in saying that this is just not what you do
> in Scheme. As Stroustrup (I believe) said, you cannot simply take
> idioms from one language and use them in another.
I'm not a fan of Stroustrup or C++, but I need to get over some gripes
that I have with Scheme. This macro can help, and if the Schemely way
of doing things is correct, then I'll find out why other ways are
wrong once I start using them. :)
Thanks for the macro definition.
> I suggest you document this macro before using it.
will do.
--
Han-Wen Nienhuys | address@hidden | http://www.xs4all.nl/~hanwen
- C++ declaration style programming?, Han-Wen Nienhuys, 2004/01/20
- Re: C++ declaration style programming?, Viktor Pavlenko, 2004/01/20
- Re: C++ declaration style programming?, Issac Trotts, 2004/01/20
- Re: C++ declaration style programming?, Lynn Winebarger, 2004/01/21
- Re: C++ declaration style programming?, Stephen Compall, 2004/01/21
- Re: C++ declaration style programming?,
Han-Wen Nienhuys <=
- Re: C++ declaration style programming?, Keith Wright, 2004/01/21