Conversation
CONTRIBUTING.md
Outdated
| * Review Phobos additions in the [Review Queue](http://wiki.dlang.org/Review_Queue). | ||
| If you need help you can ask questions on `#d` IRC channel on | ||
| freenode.org ([web interface](https://kiwiirc.com/client/irc.freenode.net/d)) | ||
| or on [our forum](http://forum.dlang.org/). |
There was a problem hiding this comment.
See also this discussion on the NG about unifying these forums to one.
|
Overall I think it's a good idea to move from wiki to I pointed out a couple of things I think should be avoided: some are 'current state' tips, others are still blurred line, and lastly, I would recommend to trim |
CONTRIBUTING.md
Outdated
| - Avoid unnecessarily importing other Phobos modules | ||
| - Try to not require a garbage collector (this is not a must) | ||
| - Avoid code duplication | ||
| - Maximal `@nogc`, `@safe`, `pure`, `nothrow` in *non-templated* |
There was a problem hiding this comment.
Many of these things belong in D style guide I think
Yes you are right, my last status is that there was consensus that review process needs to be changed. Andrei lists "Better management of language and phobos development, consensus on strategies" and "bot for pinging reviewers (mention-both, highfive)" in the 2016H2 vision.
Thanks for the feedback :) |
CONTRIBUTING.md
Outdated
| PRs? | ||
| - Is your code flexible enough to accommodate more use cases? | ||
| - Read through your code again - is there any part that isn't understandable? | ||
| - Try to enable `@nogc` tests |
|
Now that dlang/dlang.org#1422 is in, this improvement to the contribution guide can go into another round of review ;-) |
Current coverage is 88.68% (diff: 100%)@@ master #4585 diff @@
==========================================
Files 121 121
Lines 73827 73827
Methods 0 0
Messages 0 0
Branches 0 0
==========================================
+ Hits 65471 65472 +1
+ Misses 8356 8355 -1
Partials 0 0
|
|
So does anyone find more nitpicks or can we use this as an initial version? |
|
Phew, am I'm glad I saw this. IMHO: 186 lines? Are you trying to scare everyone away from contributing to D? What I think: it takes no effort at all to produce mountains and mountains of guides and "recommendations" and "best practices". If I want to submit a small patch to a project (and many contributors start with small patches), and I'm hit with a wall of text that I'm being told I must read before I submit any changes, there's a 99% chance I'm just going to nope out. My recommendation: Slim it down to the absolute minimum. What this should include:
What this should NOT include:
Yes, I realize that some people must be tired of pointing out common mistakes to newcomers over and over. However, this is not the solution. We will lose more (in potential contributors) this way than from the time saved by creating RTFM-like barriers like this. A better solution is better automation which detects these mistakes and assists the users in fixing them. |
It wasn't my intention, but your points make sense. If I find time, I will come back to this, but not for now.
Working on that ;-) |
Some might remember that I tried to improve the contribution guide a couple of months ago (#4128). In the end it was decided to move the contribution guide to D wiki, but there are a couple of things that lead me to propose a reconsideration:
dmd and druntime provide extensive contribution guides focused on their project (they were formerly a bit hidden in
HACKING.md)I believe that the "noise" of having to update the contributing guide from time to time is definitely worth the better experience for newcomers.
That being said, this guide already needs more work, which I am happy to start provided that we agree that having a more extensive
CONTRIBUTING.mdis a nice thing.