Operators for everything (was Re: Operators for matrix)

Timothy H. Keitt keitt at nceas.ucsb.edu
Sun Jul 23 17:26:49 EDT 2000


R (www.r-project.org) uses '%' as in A %*% B.  Might be nice to
standardize.

Tim

Bill Whiten wrote:
> 
> In article <3977AF5E.552F4F42 at my.signature>, Greg Ewing <see at my.signature>
> wrote:
> > Python with its overloadable operators can be thought of
> > as a meta-language for creating domain-specific languages.
> > But the number of operators is too restricted for it to
> > be really good in this role. Operator overloading feels like
> > something tacked on as an afterthought rather than a
> > serious feature. I don't think it's unreasonable
> > to consider whether this situation could be improved.
> 
> I would prefer the normal oprerators plus an escape character followed by
> additional characters to define new operators eg @+ @div etc.
> 
> Regards,
> -----------
> Bill Whiten,                                     W.Whiten at mailbox.uq.oz.au
> Julius Kruttschnitt Mineral Research Centre,
> The University Of Queensland,                       Tel: int +61 7 3365 5888
> Isles Rd, Indooroopilly,                            Fax: int +61 7 3365 5999
> Brisbane Qld 4068, AUSTRALIA.

-- 
Timothy H. Keitt
National Center for Ecological Analysis and Synthesis
735 State Street, Suite 300, Santa Barbara, CA 93101
Phone: 805-892-2519, FAX: 805-892-2510
http://www.nceas.ucsb.edu/~keitt/



More information about the Python-list mailing list