File tree 1 file changed +4
-2
lines changed
1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ You can fork this repo, and clone it down onto your computer.
6
6
The ` main() ` function is in ` class FileManager ` .
7
7
You should be able to run that function.
8
8
9
- ## What is does
9
+ ## What it does
10
10
11
11
This is a very simple file management _ shell_ , it shows how to manipulate files using java standard library calls.
12
12
Available commands:
@@ -22,13 +22,15 @@ Each class a different reason for being.
22
22
There is a simple file hierarchy for manual testing in the _ test_ folder.
23
23
You can use the _ test_ folder for doing simple file manipulations.
24
24
25
+ ## Things to consider
25
26
26
27
Why are the manipulation commands, the things that affect files and folders, in a different class than
27
28
the _ file manager_ itself?
28
29
29
30
Why is all the input and output factored out into a separate class?
30
31
31
- Why is Copy/Move in the same method?
32
+ Why is Copy/Move in the same method? What about the two operations are so much the same?
33
+ How would you separate them? Would it make it more understandable or less to spearate them?
32
34
33
35
What would you have to do to:
34
36
You can’t perform that action at this time.
0 commit comments