functions as objects
- From: bob <bob@xxxxxxxxxxxxxxxxxx>
- Date: Mon, 2 Jul 2012 08:15:46 -0700 (PDT)
Doesn't it seem wasteful sometimes to create a class just because you want to pass a function as an argument?
For instance, in Java, you might create a comparison class just to have one comparison function for sorting.
.
- Follow-Ups:
- Re: functions as objects
- From: Rui Maciel
- Re: functions as objects
- Next by Date: Re: functions as objects
- Next by thread: Re: functions as objects
- Index(es):