Skip to content

Commit 97be0be

Browse files
committed
Merge branch 'main' into exercise/completed
2 parents 787778d + 2f6797d commit 97be0be

File tree

1 file changed

+25
-0
lines changed
  • 3-0-java-core/src/main/java/com/bobocode/file_reader

1 file changed

+25
-0
lines changed
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
# <img src="https://raw.githubusercontent.com/bobocode-projects/resources/master/image/logo_transparent_background.png" height=50/>File Reader exercise :muscle:
2+
Improve your Java SE and Clean Code skills
3+
### Task
4+
`FileReaders` is an API that allows you to read whole file content into a `String`. Your job is to
5+
implement the *todo* section of that class.
6+
7+
### Refactoring Task
8+
There is an dirty implementation of class `FileReaders` that **contains bad practices and code smells**. If you want to
9+
practice in **refactoring** and improve your **clean code skills** you can start from branch **exercise/dirty** instead of
10+
**master** and try to refactor existing implementation.
11+
12+
To verify your implementation, run `FileReadersTest.java`
13+
14+
### Pre-conditions :heavy_exclamation_mark:
15+
You're supposed to know how to work with text files and be able to write Java code
16+
17+
### How to start :question:
18+
* Just clone the repository and create a branch **exercise/your_username** if you want your code to be reviewed
19+
* Start implementing the **todo** section and verify your changes by running tests
20+
* If you don't have enough knowledge about this domain, check out the [links below](#related-materials-information_source)
21+
* Don't worry if you got stuck, checkout the **exercise/completed** branch and see the final implementation
22+
23+
### Related materials :information_source:
24+
* [Stream API tutorial](https://github.com/bobocode-projects/java-functional-features-tutorial/tree/master/stream-api)
25+

0 commit comments

Comments
 (0)