Re: Unification of Methods and Functions

From: Greg Ewing (greg_at_cosc.canterbury.ac.nz)
Date: 05/24/04


Date: Mon, 24 May 2004 14:39:11 +1200

David MacQuigg wrote:

> Nobody seems to understand that lambda functions, static methods, etc.
> are clutter.

On the contrary, lambda has long been regarded as a wart
for various reasons. The best way to fix it is probably
to just drop it altogether. Nothing essential would be
lost.

We don't see static methods as clutter, because for the
most part we don't see them (i.e. we don't normally use
them). It would be no great loss if they were dropped,
too.

In neither case is it necessary to fundamentally
redesign the language to fix these, even if
they are regarded as problems.

-- 
Greg Ewing, Computer Science Dept,
University of Canterbury,	
Christchurch, New Zealand
http://www.cosc.canterbury.ac.nz/~greg


Relevant Pages

  • Re: TR 24731 approved
    ... make life better for all C programmers. ... And the obvious "fix" has been offered, ... And the cycle repeats anyway. ... I equate refusing to acknowledge any reasons for the status ...
    (comp.std.c)
  • Re: P 155 k&r section 7.3
    ... Most warning road signs are there for excellent reasons that ... NOT necessarily mean that a cast is the right way to get rid of the ... Once you have understood the message, you should fix your code ...
    (comp.lang.c)
  • Re: The Gunner News Agency
    ... Fix your quoting, will ya? ... Gee, it's a wonder Larry sees anyone's posts. ... of the reasons I don't believe him. ... Knowing that you can see why right wingers never want to change ...
    (rec.crafts.metalworking)
  • Re: Laptop Motherboard
    ... Mys Terry wrote: ... motherboard for reasons which will not be stated. ... I've replaced soldered-on components on a laptop motherboard before. ... There's no harm in trying to bridge the cut traces to fix it; if it doesn't work he can try to find another working system with a broken screen etc. to strip for parts. ...
    (alt.home.repair)
  • Re: ALDI PVR
    ... > Bear in mind I haven't played with it much for obvious reasons: ... > fix when/if I get a working box) ... > Frequent hangs when in standby requiring a re-boot ...
    (uk.tech.digital-tv)