{"id":208,"date":"2019-12-15T18:17:05","date_gmt":"2019-12-15T18:17:05","guid":{"rendered":"http:\/\/localhost\/wordpress\/?p=208"},"modified":"2021-05-29T17:47:03","modified_gmt":"2021-05-29T17:47:03","slug":"introduction-to-open-source-best-practices","status":"publish","type":"post","link":"http:\/\/localhost\/wordpress\/introduction-to-open-source-best-practices\/","title":{"rendered":"Introduction to Open Source Best Practices"},"content":{"rendered":"\t\t
As a Computer Scientist, a researcher, and a programmer I am always interested in improving myself and my code. I recently came across the Interoperable Design of Extreme-scale Application Software (IDEAS)<\/a> website which hosts a lot of different talks and webinars.<\/a> One that I looked at recently is Open Source Best Practises (see below).\u00a0<\/p> \u00a0<\/p> My notes can be found here<\/a>.<\/p> My synopsis of this webinar is as follows<\/p>\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t When looking at this video I believed that they covered three main points. Version Control using Git, Continuous Integration (CI), and Code Quality. Version Control using git is something that I learned much of when in college. From forking and branching to merge and pull requests; git is a great tool to have. When using git it allows the users to track changes and create separate branches for feature development. Using version control is good because it gives you a chance to go back if you make bad changes and see how the code has grown over time. I would recommend using gitlab.com as their continuous integration and user interface is much better than GitHub and they allow unlimited private repositories.<\/p> Looking at open source code it is beneficial to contribute to them because it gives you a chance to improve your coding skills. Furthermore, it allows us to be better known in the community and have people recognize our work. This, in turn, is good for resumes and introducing us to better software practices. One of the basic software practices that should be used is code styling, every language as a specific style and format for it. Moving forward once the code has a good foundation you should start writing tests for the code. The types of testing are as follows:<\/p>The main question we should always be asking ourself is “what does it mean to be better”\u00a0<\/h3>