Contributing to Open Source: Be a Mimic

Luke Downing made a contribution to Laravel. Before starting to write code, he took the time to look at how the repo was structured and how the code was written. By mimicking the ruling code style, his PR got accepted immediately: When Dries [one of the maintainers] reviewed my PR, he understood the code immediately. …


This content originally appeared on Bram.us and was authored by Bramus!

Luke Downing made a contribution to Laravel. Before starting to write code, he took the time to look at how the repo was structured and how the code was written. By mimicking the ruling code style, his PR got accepted immediately:

When Dries [one of the maintainers] reviewed my PR, he understood the code immediately. In fact, I imagine it wasn’t far off what he would have decided to implement himself had he the time to do it.

Because of that decision, my PR was merged. There were no major changes requested. All went smoothly, and everybody was happy. If down the line Dries or Joe need to make changes to the code I contributed, they’ll feel right at home and will be able to do so quickly and efficiently.

Additionally: keep your PRs small, focussing on one thing.

Contributing to Open Source: Be a Mimic →


This content originally appeared on Bram.us and was authored by Bramus!


Print Share Comment Cite Upload Translate Updates
APA

Bramus! | Sciencx (2022-01-15T22:59:48+00:00) Contributing to Open Source: Be a Mimic. Retrieved from https://www.scien.cx/2022/01/15/contributing-to-open-source-be-a-mimic/

MLA
" » Contributing to Open Source: Be a Mimic." Bramus! | Sciencx - Saturday January 15, 2022, https://www.scien.cx/2022/01/15/contributing-to-open-source-be-a-mimic/
HARVARD
Bramus! | Sciencx Saturday January 15, 2022 » Contributing to Open Source: Be a Mimic., viewed ,<https://www.scien.cx/2022/01/15/contributing-to-open-source-be-a-mimic/>
VANCOUVER
Bramus! | Sciencx - » Contributing to Open Source: Be a Mimic. [Internet]. [Accessed ]. Available from: https://www.scien.cx/2022/01/15/contributing-to-open-source-be-a-mimic/
CHICAGO
" » Contributing to Open Source: Be a Mimic." Bramus! | Sciencx - Accessed . https://www.scien.cx/2022/01/15/contributing-to-open-source-be-a-mimic/
IEEE
" » Contributing to Open Source: Be a Mimic." Bramus! | Sciencx [Online]. Available: https://www.scien.cx/2022/01/15/contributing-to-open-source-be-a-mimic/. [Accessed: ]
rf:citation
» Contributing to Open Source: Be a Mimic | Bramus! | Sciencx | https://www.scien.cx/2022/01/15/contributing-to-open-source-be-a-mimic/ |

Please log in to upload a file.




There are no updates yet.
Click the Upload button above to add an update.

You must be logged in to translate posts. Please log in or register.