[kaffe] Coding style
Timothy Stack
stack at cs.utah.edu
Thu Jul 31 07:27:02 PDT 2003
> Guilhem Lavaux wrote:
> > Hi everyone,
hi guys,
> > Maybe this issue has already been raised but the coding style (at least
> > for indentation...) is far from being clear in kaffe and its libraries.
> > I've also seen that one of the pending task was to write the file
> > "FAQ.coding-style". I don't for you but maybe we may just use the GNU
> > Coding style (or a slight variant) and reformat progressively the code
> > using "indent" ... The name of internal variables and functions should
> > also be normalized but it is already a trickier question.
Overall, it doesn't really bother me... And, our time is probably better
spent elsewhere. If you do feel really compelled to change it though,
make sure you do separate checkins for stylistic and functional changes.
It makes it easier when looking at diffs and merging code.
Also, if you want to go to the extreme you could setup some auto check
thingy that ran whenever someone tried to checkin a change. I've used
checkstyle on my java code before and it works pretty well.
> I guess people have settled on whatever coding style suits them best in
> files they wrote. Different authors-> different styles. That can be
> annoying when the style switches in the middle of a file.
guilty...
> The only problem I see is that it could make it harder for people
> merging code with 'unindented' forks. Tim, what's your take on this with
> respect to JanosVM ?
It might be kind of a pain to merge, but, its only a one-time thing (i
hope!)
> cheers,
> dalibor topic
tim
More information about the kaffe
mailing list