Login | Register
My pages Projects Community openCollabNet

propel
Reply to message

* = Required fields
* Subject
* Body
Attachments
Send reply to
Topic
Author (directly in email)
Please type the letters in the image above.

Original message

Author Robert Bruce <rob@thirddimensiondesign.co.uk>
Full name Robert Bruce <rob@thirddimensiondesign.co.uk>
Date 2006-11-21 08:17:01 PST
Message Ron Rademaker wrote:
> One vote for 2 (why? because thats pretty much how I do it whenever I
> use prefixing anywhere).
>
> Ron
>
> Hans Lellelid wrote:
>> Hi guys,
>>
>> I'm copying propel-dev on this email, as I'd like linguafranca
>> convention to be adopted for Propel 2 also.
>>
>> We had a brief mention of this before, but I think we should probably
>> prefix the classes in the LinguaFranca project. I think Sven proposed
>> using lf_. That works, but I think the underscore is not a good idea
>> since it means specific directory structure system for the Pear classes
>> -- a directory structure system that I don't think we plan to implement.
>>
>> So, I see a few options:
>>
>> 1) lowercase "Symfony-style" prefix: lfDatabase, lfObject
>> 2) uppercase initials: LFDatabase, LFTable
>> 3) single letter "Prado-style" prefix: LDatabase, LTable
>> 3) Full project prefix: LinguaFrancaDatabase, LinguaFrancaTable (I
>> think we probably agree that's too long)
>> 4) Shortened project name prefix: LinguaDatabase, LinguaTable
>>
>> Personally, I lean toward 1,2, or 3. Other suggestions? Opinions on
>> these?
>>
>> Hans
>>
>>
>> --------------------​--------------------​--------------------​---------
>> To unsubscribe, e-mail: dev-unsubscribe@prop​el.tigris.org
>> For additional commands, e-mail: dev-help at propel dot tigris dot org
>>
>>
>>
>
> --------------------​--------------------​--------------------​---------
> To unsubscribe, e-mail: dev-unsubscribe@prop​el.tigris.org
> For additional commands, e-mail: dev-help at propel dot tigris dot org
>
I would say 4, I prefer object names which give a description of what
they are, plus when 'eyballing' code it's easier to spot 'Lingua' than
options 1, 2 or 3.