[racket-dev] current-*-port

From: Marijn (hkBst at gentoo.org)
Date: Mon May 7 10:54:13 EDT 2012

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 04-05-12 05:03, Neil Van Dyke wrote:
> Matthias Felleisen wrote at 05/03/2012 10:57 PM:
>> I don't think Eli is proposing an elimination of the old names
>> but supplementing the code base with new ones.
>> 
>> I am in favor -- Matthias
> 
> Would be good to have a shorter naming convention for all
> parameters. The "current-" prefix is not short, but it's what I've
> been using when coding new parameters, because that's the
> convention.

How about prefixing a tilda (~) instead of "current-"? It looks like a
current ;P and also like a snake (parameters could be thought to
``snake'' through the code). Alternatively the at-sign (@) to
represent currentness. To make them stand out more (if that is
desirable) the same symbol could be postfixed as well. In conclusion,
some options are:

~error-port
@error-port
~error-port~
@error-port@

Just some random thoughts,

Marijn
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.19 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk+n4hUACgkQp/VmCx0OL2xyCgCfVhr3/gHu/n0bdRTaCPVaILz7
dOwAnjf1HbYc0nBy/hnqWax9C1AQE765
=qgJq
-----END PGP SIGNATURE-----

Posted on the dev mailing list.