Boost logo

Boost :

From: Beman Dawes (bdawes_at_[hidden])
Date: 2001-07-27 11:10:34


At 04:34 PM 7/26/2001, Darin Adler wrote:

>I am a heavy user of perl, but I still think I prefer the more
straitlaced
>syntax:
>
> replace_all(str, regexp("tru*"), "tru")
>
>to something like:
>
> str << s/tru*/tru/g;

I would think that the more conventional syntax would benefit the largest
number of users.

There is such a thing as syntax that is just too cute, and might end up
being viewed as too esoteric and thus unsuited for the average user.

--Beman


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk