From: Edson C. E. R. <eds...@mg...> - 2003-09-11 22:42:02
|
At this time, we have a deal about source code conventions. They are: 1) Tab size =3D ident size =3D 4 spaces. Tabs are always converted to = spaces. 2) Class names always starts Capitalized. Compound words are capitalized = too. Ex: DataType. 3) There are no suffixes/prefixes to class names and interface names. As = rule, a interface is the generic name for an type. Ex: if we have = several data types (like Integer, Varchar and so on) we will name the = interface as DataType, and the classes will be IntegerDataType, = VarcharDataType and so on. If you will need a class with exactly name of = an interface, judge if you really need that interface. In the real = world, we had detected that we don't need the DataType interface. In our = project, we will have only the DataType class. Anyone that needs an = specialized will extends DataType class. This can be a problem if we = need Dynamic proxies in the future, but when we need them, then will be = time to refactory all the project ;-) 4) The package names will be net.sourceforge.sapforge.studio, as = suggested by reversing the name of our site. No capital letters in the = name of packages. 5) For all the rest, Sun coding convention. All agree that? Someone has any other suggestion? Thanks to all, Edson Richter |