On Sat, 2008-12-06 at 10:10 +1030, Andrew Jeffery wrote:
> Obviously IANAFD (I am not a Freevo developer), but IMHO the KISS rule 
> should apply - this behaviour seems a bit non-trivial for a simple 
> property value change. If you need a timer with a different interval, 
> explicitly create one (for the usual reasons... readability etc)

Deciding what side-effects you can legitimately get away with in a
property setter is always going to be a judgement call.

In this particular case, I'm more persuaded by your position (that is,
make interval read-only).  OTOH, I'm sure there will be other situations
where my intuition is in favor of a setter with even more egregious
side-effects than that. :)

Cheers,
Jason.


------------------------------------------------------------------------------
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you.  Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
_______________________________________________
Freevo-devel mailing list
Freevo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-devel

Reply via email to