[TIMOB-6964] iOS: Establish code guidelines and source beautifier
GitHub Issue | n/a |
---|---|
Type | New Feature |
Priority | Trivial |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2012-01-25T16:33:33.000+0000 |
Affected Version/s | n/a |
Fix Version/s | Sprint 2012-02, Release 2.0.0, Release 1.8.1 |
Components | iOS |
Labels | n/a |
Reporter | Stephen Tramer |
Assignee | Stephen Tramer |
Created | 2012-01-03T12:47:58.000+0000 |
Updated | 2017-03-06T22:36:19.000+0000 |
Description
iOS needs to establish code guidelines and a source beautifying tool so that we can begin code cleanup and encourage new people working on the source to follow convention rather than paradigms from other languages or currently incorrect methodologies in the iOS codebase.
We will also eventually want a clang AST plugin to perform tasks such as variable name analysis to ensure that everybody is following the right naming rules (camelcase, trailing underscore in args only, etc.) which could probably be integrated with the API metrics to provide some better information.
Modifications to the Coding Standards document: https://wiki.appcelerator.org/display/pe/Coding+Standards
Updated the wiki page with a link to the uncrustify config (as well as instructions on getting brew/uncrustify). The checkin was [tidevtools/648c83a](https://github.com/billdawson/tidevtools/commit/648c83a70b9f515d5438e5c4eec84bfc1051f245).
Never received feedback. The new code guidelines are the law and the lash!
Closing ticket due to time passed.