-
-
Notifications
You must be signed in to change notification settings - Fork 2.8k
Code style
Version 1.0, September 2010. Copyright © 2010. Ported from repo
This document lists the recommendations applied to AnkiDroid, an Android project based on Anki.
If you find any error on this document or any inconsistency between the recommendations presented here and the automatic checkstyle and formatter, please open an issue.
Each recommendation is presented as a rule followed by examples
In this document the words must, should and can are used to convey the importance of a recommendation. A must requirement have to be followed, a should is a strong recommendation and a can is a general suggestion.
TODO
Any violation to the guide is allowed if it enhances one of the following, by order of importance (higher levels cannot be sacrificed for lower levels):
- Logical Structure
- Consistency
- Readability
- Ease of modifications
Help us make AnkiDroid better: Sponsor AnkiDroid on GitHub Sponsors 💜