On Oct 19, 2011, at 4:03 AM, Robby Findler wrote:
> (I'm sorry if you got this message already; I thought I sent it
> already but I don't see it.)
>> What about the current-output/error-port? what about the
> current-namespace? current-custodian?
>> There are lots of parameters that affect core functions in subtle ways
> and if you do something like this in plot, it seems like it could lead
> to serious confusion someday. Also, it can introduce leaks.
+1. I think this is not not not a good idea.
Robby's solution requires you to make one list of all of the plot-related parameters, which looks to me like the "right" amount of work.
Furthermore, it has the unpleasant characteristic that when it breaks, it will be exposed in an unwanted change to a parameter that will likely be entirely unrelated to plot. Tracking this down will be horrible, and the axe-wielding murderer of legend will be very unhappy when he (or she?) finally gets to your doorstep.
Just my two cents!
John
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4624 bytes
Desc: not available
URL: <http://lists.racket-lang.org/users/archive/attachments/20111019/39937a06/attachment.p7s>