Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DRY up the codebase #1

Open
10 tasks
danthareja opened this issue Nov 7, 2017 · 72 comments
Open
10 tasks

DRY up the codebase #1

danthareja opened this issue Nov 7, 2017 · 72 comments

Comments

@danthareja
Copy link
Owner

danthareja commented Nov 7, 2017

Welcome new contributors!

In this experience, you are a doer. You take action first, and learn about the action afterwards. This design helps you get comfortable in the unknown, an entity that is omnipresent in the coding world. If you're feeling confused, that's ok. Read the instructions carefully, trust the process, and have fun!

To help guide you through the experience, there will be comment blocks (like the one your reading now) that explains just enough context before your next action.

Open Source and GitHub

An open source project is any code that can be freely used, changed, and shared by anyone. An open source project usually contains a license that declares specific terms of use. Open source projects are important because they help develop and spread great ideas and push technology forward.

GitHub is a website that hosts open source projects. A project on GitHub is called a repository (or repo), a folder that holds code. GitHub allows people to collaborate on a repo through features like issues and pull requests. By the end of this experience, you'll understand how to use these features to contribute your ideas to other projects.

Issues

Issues (like this one) allow people to track and discuss any task related to the project. Issues are not always problems with the code. They can also be feature requests or questions about how to use the code.

To help organize the project, issues can be tagged with one or more label. When you graduate from this project and are looking for more ways to contribute, look for projects with issues tagged with labels help wanted, good first issue, up-for-grabs, first-timers-only, or something similarly inviting.

Your turn

Now that you have a bit of context about the experience, continue reading the body of the issue to learn how to fix it.


We're off to an amazing start disrupting the calculator industry. Our beautiful contributors burned all of last week's midnight oil to release our first version and the initial reception has been unprecedented!

After a code review from some experts, we've learned that there's some unnecessary repetition in the codebase. Removing this repetition will make our codebase easier to maintain as we continue to grow into the world's best calculator company.

The team is burnt out from last week's push and needs your help! Before blowing half of our capital investment on a vacation in the Swiss Alps, the team managed to write some tests for this refactor, and left behind a roadmap to the next big release:


This experience can be completed by multiple people. Below, you'll see references to this issue from various other contributors. You can ignore them.

@sambragg sambragg mentioned this issue Nov 11, 2017
danthareja added a commit that referenced this issue Nov 11, 2017
@ghost ghost mentioned this issue Nov 20, 2017
This was referenced Nov 21, 2017
danthareja pushed a commit that referenced this issue Dec 19, 2017
This was referenced Jan 1, 2018
@rribeiro1 rribeiro1 mentioned this issue Jan 10, 2018
@sourabh1031
Copy link

i am working on it and facing eslint problems since i am working on windows do i need to take care special care?

@danthareja
Copy link
Owner Author

@sourabh1031, are they the same problems you mentioned in your other issue danthareja/contribute-to-open-source-server#2? If so, did you try what I mentioned in the reply?

@sourabh1031
Copy link

sourabh1031 commented Jan 14, 2018 via email

@danthareja
Copy link
Owner Author

No need. As long as the styling issues are fixed, you can keep developing on Windows.

This was referenced Feb 13, 2018
dantharejabot added a commit that referenced this issue Feb 13, 2018
dantharejabot added a commit that referenced this issue Feb 20, 2018
@mnpal mnpal mentioned this issue Mar 11, 2018
DrJuneau added a commit to DrJuneau/contribute-to-open-source that referenced this issue Mar 22, 2018
dantharejabot added a commit that referenced this issue Mar 22, 2018
Resolve Issue #1 - Dry up the database
@Bltzz Bltzz mentioned this issue Feb 12, 2024
dantharejabot pushed a commit that referenced this issue Jun 16, 2024
negraop added a commit to negraop/contribute-to-open-source that referenced this issue Jul 1, 2024
@negraop negraop mentioned this issue Jul 1, 2024
8 tasks
dantharejabot added a commit that referenced this issue Jul 1, 2024
brijesh-989 added a commit to brijesh-989/contribute-to-open-source that referenced this issue Jul 4, 2024
dantharejabot pushed a commit that referenced this issue Jul 11, 2024
benjammin4dayz added a commit to benjammin4dayz/contribute-to-open-source that referenced this issue Jul 18, 2024
* Implement _check function
* Enable test to assert _check
dantharejabot added a commit that referenced this issue Jul 18, 2024
Refactor calculator, enable test; fix #1
@fury2587
Copy link

Hello I am a newcomer, i have make a pull request as mentioned in the guideline but i don't know that you are able to see or not. please help me in that.
Uploading Screenshot (18).png…

@JashanpreetSingh25
Copy link

For anyone having a " Expected linebreaks to be 'LF' but found 'CRLF' " error, this is just a related to inconsistent line endings in the code. It is just a Windows problem because Windows uses CRLF (Carriage Return + Line Feed) while Unix based system like Linux and MacOS uses LF (Line Feed). For Windows users, you can use WSL or use article to know how to fix it https://medium.com/bootdotdev/how-to-get-consistent-line-breaks-in-vs-code-lf-vs-crlf-e1583bf0f0b6. This was scary as a beginner but I just googled it, and done.

ChardPeterz added a commit to ChardPeterz/contribute-to-open-source that referenced this issue Nov 12, 2024
This was referenced Nov 12, 2024
This was referenced Nov 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment