From: Jack Dempsey Date: 2002-01-16T02:55:09+09:00 Subject: RE: benefits of callbacks Hey Phil, Good point...as far as time, I meant less complex code -> less writing/debugging/etc Thanks, Jack > -----Original Message----- > From: Phil Ehrens [mailto:pehrens@nospam.ligo.caltech.edu] > Sent: Tuesday, January 15, 2002 12:54 PM > To: ruby-talk ML; undisclosed-recipients: > Subject: Re: benefits of callbacks > > > And event loops are more portable and more robust > than threads. I wish this were not so, but alas, > it is ;^) > I don't exactly see how callbacks save time, but they certainly > can reduce complexity of code, and are easier to debug than > threads. > > Jack Dempsey wrote: > > Ok...the idea made sense before, but I can see how this would > really save > > some time in certain situations. > > > > Thanks! > > Jack > >> > > A callback gives the power of a virtual or late binding function > >> > > to a non OO > >> > > language. > >> > > Subject: benefits of callbacks > >> > > > >> > > > >> > > > A co-worker asked today what they were and why they are so > >> > > useful, and to > >> > > be > >> > > > honest, I struggled in giving a good example. Anyone have a sec > >> > > to spare? >