Featured
- Get link
- X
- Other Apps
Week 6: Lab 5
Lab 5
This weeks lab was about learning a few additional Git commands used to manage our git history like rebase and amend. During my first pull request for release 0.2 I actually had to do one of these rebases before I was allowed to push my work which was quite confusing since I've never heard or seen rebases before. The video this week about rebasing helped out a lot with my understanding of its use and purpose. Making visual studio code my default editor for rebasing was really nice especially since one of my first PR's made me use Vim. I had too commit changes bit by bit in small portions to later rebase them under one commit.
Here is the single commit on 'master' 7915d57
The Changes
The lab mainly had me improving my existing code in a variety of ways. My main goal was to make it more readable and understandable and to rework portions of the code so they didn't rely on each other as much. An example of this was originally the read file function called the request function. There isn't a reason why it should at all. Other then that I fixed a lot of small bugs and added some small new features such as a total URL counter at the end of the output.
The default help message output was updated:
I found my output was quite basic and bland, so here is a before and after with the changes.
Before:
After:
Here's a list of the major changes:
- Split the code into different files for easier reading
- Each new file focused on one aspect of the program ex. reading files, checking URLs
- Ambiguous variable/function names were updated for a clearer understanding
- Text output was updated to look better
- Updated the ReadMe
- Other small errors
- Get link
- X
- Other Apps
Comments
Post a Comment