blob: 2117a604c8ae9f4de29952155c89a40908ecf973 [file] [log] [blame] [view]
Ian Hicksoncf2fba72018-11-06 13:41:09 -08001# Code of conduct
2
3We expect Flutter's contributors to act professionally and respectfully, and
4we expect our social spaces to be safe and dignified environments.
5
6Specifically:
7
8* Respect people, their identities, their culture, and their work.
9* Be kind. Be courteous. Be welcoming.
10* Listen. Consider and acknowledge people's points before responding.
11
12Should you experience anything that makes you feel unwelcome in Flutter's
13community, please contact someone on the team, for instance
14[Ian](mailto:ian@hixie.ch) or [Tim](mailto:timsneath@google.com). We will
Phil Quitslund919f4572019-01-03 12:51:45 -080015not tolerate harassment from anyone in Flutter's community, even outside
Ian Hicksoncf2fba72018-11-06 13:41:09 -080016of Flutter's public communication channels.
17
18## Conflict resolution
19
20When multiple contributors disagree on the direction for a particular
21patch or the general direction of the project, the conflict should be
22resolved by communication. The people who disagree should get
23together, try to understand each other's points of view, and work to
24find a design that addresses everyone's concerns.
25
26This is usually sufficient to resolve issues. If you cannot come to an
27agreement, ask for the advice of a more senior member of the team.
28
29Be wary of agreement by attrition, where one person argues a point
30repeatedly until other participants give up in the interests of moving
31on. This is not conflict resolution, as it does not address everyone's
32concerns. Be wary of agreement by compromise, where two good competing
33solutions are merged into one mediocre solution. A conflict is
34addressed when the participants agree that the final solution is
35_better_ than all the conflicting proposals. Sometimes the solution is
36more work than either of the proposals. [Embrace the yak
37shave](https://github.com/flutter/flutter/wiki/Style-guide-for-Flutter-repo#lazy-programming).
38
39## Questions
40
Todd Volkert8470b4a2018-11-20 22:25:03 -080041It's always ok to ask questions. Our systems are large, and nobody will be
Ian Hicksoncf2fba72018-11-06 13:41:09 -080042an expert in all the systems. Once you find the answer, document it in
43the first place you looked. That way, the next person will be brought
44up to speed even quicker.
45
Ian Hickson57849e82018-11-26 14:23:02 -080046[!["I try not to make fun of people for admitting they don't know things, because for each thing 'everyone knows' by the time they're adults, every day there are, on average, 10,000 people in the US hearing about it for the first time. If I make fun of people, I train them not to tell me when they have those moments. And I miss out on the fun." "Diet coke and mentos thing? What's that?" "Oh man! We're going to the grocery store." "Why?" "You're one of today's lucky 10,000." (xkcd, May 2012)](https://imgs.xkcd.com/comics/ten_thousand.png)](https://xkcd.com/1053/)