[Twisted-Python] Sub-project Naming

Christopher Armstrong radix at twistedmatrix.com
Tue Apr 20 15:02:20 EDT 2004


Michal Pasternak wrote:
> Well, I am pretty uninitiated, so I'll describe how the things are from my
> perspective. The answer is:
> 
> That depends.
> 
> I know, what does serializer do. I hardly had any idea what does "Jelly" do,
> when I've seen that name for the first time. On the other hand, when I've
> learned it, I prefer the name "Jelly", it is easier to use, than
> "TwistedPickle", "TwistedSerializer", "SamePickleOnlyPortable". Is "Jelly" a
> meaningful name for a serializer? I really doubt that, perhaps that's
> obvious for native American/English people, not for me. Anyway, since I
> understood it, I like it. That's one thing.

Yes, and also, jelly and banana are both serializers, but different 
kinds. To be truly technically accurate and unambiguous, jelly would 
need to be called SerializeArbitraryObjectsToListsOfStringsAndNumbers, 
and banana would need to be called 
SerializeListsOfStringsAndNumbersToBytes (and pickle would need to be 
called SerializeArbitraryObjectsToBytesWithHorribleSecurityHoles). This 
was the point I gave Ed on IRC, and he half-conceded his point, after 
not being able to come up with better names.

> Another thing... I don't really known if vendor-name-as-prefix is a good
> idea. I like "twisted.*" more, than "tmlabs.*" ;)

Two points. First, TML isn't exactly a "Vendor". We're not an official 
organization at all; we're just a group of (tight-knit, etc ;) people 
who hack on a bunch of somewhat related projects. Second, putting it in 
'twisted' has problems, since there will be subpackages of the twisted 
core module right next to our separately-distributed projects, leading 
to confusion:

in `ls' order:
  twisted.application <-- core
  twisted.conch       <-- external
  twisted.cred        <-- core
  twisted.enterprise  <-- core
  twisted.flow        <-- external

-- 
  Twisted | Christopher Armstrong: International Man of Twistery
   Radix  |          Release Manager,  Twisted Project
---------+           http://radix.twistedmatrix.com/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 256 bytes
Desc: OpenPGP digital signature
Url : http://twistedmatrix.com/pipermail/twisted-python/attachments/20040420/1c9402ed/attachment.pgp 


More information about the Twisted-Python mailing list