[racket-dev] current-*-port

From: Ryan Culpepper (ryan at cs.utah.edu)
Date: Thu May 3 16:39:13 EDT 2012

On 05/03/2012 02:09 PM, Neil Van Dyke wrote:
> Eli Barzilay wrote at 05/03/2012 03:48 PM:
>> (parameterize ([stderr (stdout)])
>> ...)
>
> I'm not sure how I feel about shortening these, but an additional
> consideration is that a naming convention for parameters (so far,
> prefixing with "current-") has been useful. I think a naming convention
> can help remind people that this won't work with renaming alone:
>
> (fprintf stderr "Oops!")

FWIW, 'eprintf' has almost completely eliminated the need to ever type 
'current-error-port' for me.

Ryan

Posted on the dev mailing list.