in reply to Event based programming: Callbacks or "Interfaces"?
I think that the flexibility afforded by the interface style is by far a more effective technique.
An interface can change at runtime, whole new classes of behaviour can easily be brought to bear with just a few keystrokes, etc, technique much harder to achieve through static coderef's.
+++++++++++++++++
#!/usr/bin/perl
use warnings;use strict;use brain;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Event based programming: Callbacks or "Interfaces"?
by tilly (Archbishop) on Jun 01, 2004 at 07:37 UTC | |
|
Re: Re: Event based programming: Callbacks or "Interfaces"?
by dfaure (Chaplain) on Jun 01, 2004 at 09:31 UTC | |
|
Re^2: Event based programming: Callbacks or "Interfaces"?
by adrianh (Chancellor) on Jun 01, 2004 at 09:51 UTC | |
by hardburn (Abbot) on Jun 01, 2004 at 12:51 UTC |