Re: [Sunuml-developers] Local source directories and the CamelCase topic
Status: Planning
Brought to you by:
lazaruslong
From: Javier C. <ja...@ya...> - 2008-11-10 22:00:51
|
Yes a src directory is better. I agree with you about naming attributes and methods. But Aidar is right in a way, we will be using wsPython alot. I think that maybe a point in the middle will be better. - Use CamelCase methods when the class we make extends directly from a wxPython class, because if you override methods from the upperclass you are forced to use that standard, and I think all methods should have the same standard inside a class. This should be used for example on a subclass of wx.Frame. - Use mixedCase standard when making our own classes and model classes. I would prefer to use this standard everywhere but on the other classes it would be prone to error mixing the standards. Regards Javier Doreen Strowinski escribió: > Hi, > > short question: Should we create the source code in a directory named "/sunuml/src" (it's the way I know)? > Someone - I don't know anymore who - started to store python source code in "/sunuml/core". > > What's the right way now? > > > BTW: > To contribute to the current discussion: I prefer the coding style like (I'm a mainly Java coder ...): > > _anyPrivateField > > anyPublicField > > OwnConstructor() > > functionOrMethod() > > > Many opinions ... ! Steve, I'm afraid that you have to decide again ;) > > > Reeny > |