Developer forums (C::B DEVELOPMENT STRICTLY!) > Development
Developer volunteers sign up here
Olorin:
Thank you very much for your reply, rickg22.
--- Quote ---Olorin: Just try to be consistent with existing source code.
--- End quote ---
I'll try... I raised the point as I couln't see any strong consistency, especially in regard to tab/spaces :)
--- Quote ---If's should have { and } even if it's a one-liner. {'s should be just below the if/while.
--- End quote ---
That's my way of thinking, apart from the "{ below" side :)
I'll enclose one-liners in { and }, if I'll find any (apart from
--- Code: ---return
--- End code ---
s, maybe), as I strongly believe that they can easily become sources of errors, especially in combination with indentation.
--- Quote ---My recommendation: Start searching for opened bugs in Sourceforge, and submit patches to fix said bugs. I became a C::B developer that way :)
--- End quote ---
Ok, your suggestion is really welcome, but I think that I'll focus mainly on simple tasks for now.
Thanks again!
thomas:
Mithrandir, you may find using the source code formatter plugin in ANSI mode very helpful.
280Z28:
What he may be noticing is the wxSomething modules don't follow the same rules necessarily. wxScintilla uses a different style from the one you use.
shikaku:
I will gladly help with Japanese translation. :D
Olorin:
--- Quote from: thomas on December 15, 2005, 12:07:15 am ---Mithrandir, you may find using the source code formatter plugin in ANSI mode very helpful.
--- End quote ---
Thanks for your suggestion (and for remembering me of my many names :D), I'll give it a try.
I've seen other threads (eg. http://forums.codeblocks.org/index.php?topic=1642.0) that talks about (lack of) coding style guidelines... personally I don't really like to be forced to a particular scheme (especially if it's not my usual one :)), but I think that it is necessary in projects involving so many developers.
A description of how to effectively become a developer would be useful, too, unless this procedure is a first test of our skills :D. I've found this http://forums.codeblocks.org/index.php?topic=1636.0, but I fear that my attempt was not so succesfull (I suppose that one should never do this late at night :)).
May I suggest to insert one (or two) locked (or sticky?) topics baout this matters at the beginning of the Development forum? They would be quite useful and make development easier, faster and better.
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version