Skip to content

Commit

Permalink
document that inheritance and class hierarchy should be avoided
Browse files Browse the repository at this point in the history
see say streetcomplete#3515 (review)

I half-remembered this but I was unsure (again)
  • Loading branch information
matkoniecz committed Nov 20, 2021
1 parent d0e87fa commit 38808a9
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,10 @@ In case you **don't have an idea of a quest?** Look [at the existing issues](htt

Always remember to pay attention to [the quest guidelines](https://github.com/streetcomplete/StreetComplete/wiki/Adding-new-Quests-to-StreetComplete) of StreetComplete! It also has tips for implementing a quest.

### Code style

Inheritance and class hierarchy should be avoided if possible. It is preferable to extract shared code to helper package such as [KerbUtil](app/src/main/java/de/westnordost/streetcomplete/osm/kerb/KerbUtil.kt).

### StreetComplete-related projects

#### Dependencies
Expand Down

0 comments on commit 38808a9

Please sign in to comment.