This post was originally posted on Medium ( 5 things I learned by participating in Hacktoberfest)
To start off, I had never contributed to any open source projects. I wanted to, but never got my hands into it, or let’s say I hesitated to find suitable projects.
One day, a colleague of mine told me about a campaign called Hacktoberfest, which happens during the month of October. He told me that we could get T-shirts by just opening four pull requests in any open source projects on github. At first, I did not show much interest even though I bookmarked the official page of the campaign (https://hacktoberfest.digitalocean.com).
I researched about the campaign after a few days and found out that a lot of people were participating. So I decided to give it a try and started searching for issues having label ‘hacktoberfest’ on github.
As I am specialized in web development, specifically in PHP and JavaScript, I searched in those areas. My first PR was about sending confirmation email to the user after creating one. Though it is a simple task, I just wanted to get my hands dirty in the campaign. After that, I had submitted four PRs, all of them got merged.
I don’t know about the T-shirt, but I feel happy that I participated in the campaign. Here are the 5 things I learned:
Experience
You will feel a bit hesitant at first, but once you start, you will just want to contribute more and more. I got the chance to checkout coding styles of a lot of different developers. Furthermore, I learned about different approaches developers use to solve specific problems.
Some people are lazy
While some people genuinely ask for help or encourage beginners, some people create issues for almost everything they want to add in their projects. It’s an opportunity for them to get the job done by others for free.
One of the devs created an issue to test all the classes of his application. Similarly, another guy created an issue to refactor the overall project. On the other hand, many people would find and submit small PRs just to get T-shirts from github and digitalocean.
Some are heroes
While browsing through the list of issues, some devs were genuinely promoting open source culture and helping newcomers. Repos with thousands of likes on github, were encouraging others to submit PR by creating issues. I think this will definitely have a positive effect in expanding the open source community.
Freedom
Usually, we get deadlines to complete tasks when we work in the office. Working on a tight schedule not only decreases creativity but also welcomes bugs. While contributing in around five projects, I did not have any deadlines, so I could think of any new solutions to perform the task. And we don’t have to worry about our PRs not getting merged.
It’s Fun
While my first PR took very long time to get merged, my next two PRs immediately got merged. I got excited when my PR was merged, and that encouraged me to look into other issues. Also, the appreciations I got motivated me to do more.
Learning new things is fun in itself. We can try new ways to solve a problem and we are free to research about them online. Overall, this campaign was fun, getting all my PRs merged.
Overall, Hacktoberfest was a perfect place for me to start contributing to open source projects. Like me, there were many people sharing positive feedback from their experiences.
If you have participated in the campaign, please share your experiences in the comments below.