Closed ckloi closed 7 years ago
when you do print(walk("a", nbyte, 1)) , it will output some "wrong value"
Using what we have now? Or with the arg+ something?
maybe we should ask on monday
why in nbyte(), why we don't need to check if f is file or directory before we get the file size?
Because we do that in walk, which will call nbyte. Idk if he will be calling nbyte anywhere else though
arg: An input to some running computation, say a sum. In the course of recursion, the output of walk() (initially, the output of f()) will be input to f().
Dont know whether should we use arg + something instead of return..
because once you modify the argument , the function is immediately return tho