Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/fahimahammed/software-development-lab-1
This repository is made to practise or simulate git merge, git push, and other git commands in real life. First, a messy Java program was given. Each task has been completed in a separate branch and finally merged with the main.
https://github.com/fahimahammed/software-development-lab-1
java sdl software-development-lab-1
Last synced: 10 days ago
JSON representation
This repository is made to practise or simulate git merge, git push, and other git commands in real life. First, a messy Java program was given. Each task has been completed in a separate branch and finally merged with the main.
- Host: GitHub
- URL: https://github.com/fahimahammed/software-development-lab-1
- Owner: fahimahammed
- Created: 2021-12-15T20:05:42.000Z (about 3 years ago)
- Default Branch: master
- Last Pushed: 2021-12-15T21:01:46.000Z (about 3 years ago)
- Last Synced: 2024-11-24T18:12:39.275Z (2 months ago)
- Topics: java, sdl, software-development-lab-1
- Language: Java
- Homepage:
- Size: 12.7 KB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Software Development Lab - 1
This repository is made to practise or simulate git merge, git push and other git commands in real life. First a messy Java program was given. Each task has been completed in seperate branch and finally merged with main.
## Tasks :
* Task#0
Check the output wheather it matches with the output given here. If your output doesen't match, please correct your program.
* Task#1
Update code style for better consistency.
* Task#2
Application now terminates early if the number of arguments passed into it is wrong, fix it.
* Task#3
Makes improvements to variable names
* Task#4
Refactors duplicate file read and write logic into methods
* Task#5.
Replaces string literals with constants, storing those constants in a new class called Constants.java
* Task#6.
Remove Temporary variables
* Task#7.
Eliminates the ‘done’ control-flow variable. Adds better response for search operation.
* Task#8.
Simplifies the logic behind the count operation
* Task#9.
Adds handling for case when user enters invalid arguments
* Task#10.
Add more comments and makes more naming improvements.
Your should create git branch for every step with the name of the step, work on that particular step, commit the code with appropriate commit message and finally merge your branch to the master. For better understanding, write the commit message same as the task on each steps. And check every time you change something, you didn't break anything by going through Run #1 to Run #6 and it matches the commit message.
**Run #1**: $```java StudenList a```
Loading data ...
Student1
Student2
Student3
Student4
Data Loaded.**Run #2**: $```java StudentList r```
Loading data ...
Student3
Data Loaded.**Run #3**: $```java StudentList r```
Loading data ...
Student1
Data Loaded.**Run #4**: $```java StudentList c```
Loading data ...
2 word(s) found
Data Loaded.**Run #5**: $```java StudentList ?Student1```
Loading data ...
We found it!
Data Loaded.**Run #6**: $```java StudentList +Another```
Loading data ...
Data Loaded.**File Contents (After running)**
Student1, Student2, Student3, Student4 ,Another
List last updated on 2021-12-12 2:10:58 PM