chicken-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Chicken-users] hygienic egg PORT-A-MANIA!


From: Peter Bex
Subject: Re: [Chicken-users] hygienic egg PORT-A-MANIA!
Date: Mon, 25 Aug 2008 12:42:16 +0200
User-agent: Mutt/1.4.2.3i

On Mon, Aug 25, 2008 at 11:38:53AM +0200, felix winkelmann wrote:
> Hello!
> 
> Please contact me (or this list), if you need help or
> advice in the porting step.

One important note: When porting an egg, please take some time
to reconsider the names an egg exports.  Prefixes like foo:bar
should all be removed, as you can now define prefix at import
time. It's a good idea to try to ensure that the unprefixed names
make sense by themselves, too.

So while 'foo:initialize' and 'foo:get-foobar' makes sense,
and 'get-foobar' makes sense too, 'initialize' probably does not.
This could better be renamed to initialize-foo, or something like it.

Cheers,
Peter
-- 
http://sjamaan.ath.cx
--
"The process of preparing programs for a digital computer
 is especially attractive, not only because it can be economically
 and scientifically rewarding, but also because it can be an aesthetic
 experience much like composing poetry or music."
                                                        -- Donald Knuth

Attachment: pgphp4ynehoxM.pgp
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]