Related articles |
---|
User definable operators wclodius@lanl.gov (William Clodius) (1996-12-14) |
Re: User definable operators fjh@murlibobo.cs.mu.OZ.AU (1996-12-15) |
Re: User definable operators cef@geodesic.com (Charles Fiterman) (1996-12-15) |
Re: User definable operators mslamm@pluto.mscc.huji.ac.il (Ehud Lamm) (1996-12-15) |
Re: User definable operators ddean@CS.Princeton.EDU (1996-12-15) |
Re: User definable operators dennis@netcom.com (1996-12-15) |
Re: User definable operators fjh@mundook.cs.mu.OZ.AU (1996-12-15) |
Re: User definable operators burley@gnu.ai.mit.edu (Craig Burley) (1996-12-18) |
Re: User definable operators jdean@puma.pa.dec.com (1996-12-18) |
Re: User definable operators neitzel@gaertner.de (1996-12-18) |
Re: User definable operators tim@franck.Princeton.EDU (1996-12-20) |
Re: User definable operators nkramer@cs.cmu.edu (Nick Kramer) (1996-12-20) |
Re: User definable operators hrubin@stat.purdue.edu (1996-12-24) |
[13 later articles] |
From: | fjh@mundook.cs.mu.OZ.AU (Fergus Henderson) |
Newsgroups: | comp.compilers |
Date: | 15 Dec 1996 23:42:28 -0500 |
Organization: | Comp Sci, University of Melbourne |
References: | 96-12-088 96-12-113 |
Keywords: | design |
ddean@CS.Princeton.EDU (Drew Dean) writes:
>Standard ML allows you to define your own operators [...]
>
>The people I talk to generally regard this feature as a mistake. It
>is not used that often, and I would not be surprised if it goes away.
I find it ironic that user-defined operators are criticized both as
being used too much ("the trouble with user-defined operators is
that people use them too much, and then their programs are unreadable")
and as being used too little ("user-defined operators aren't used often,
so why bother?").
My view is that if they are used sparingly, user-defined operators can
indeed significantly improve the readability of programs. If they're
not difficult to implement -- and usually they're not -- then I think
they are worthwhile.
--
Fergus Henderson <fjh@cs.mu.oz.au>
WWW: <http://www.cs.mu.oz.au/~fjh>
PGP: finger fjh@128.250.37.3
--
Return to the
comp.compilers page.
Search the
comp.compilers archives again.