While using the method open()
, I realized that it takes a URL
file as argument.
For example, I have generateGeometricShapes()
and colorShapes()
as two functions. I was wondering should I create a separate files for every function in order to call open()
correctly?
And what if I have n
calls for the open()
method? should I be creating n
files of functions? Is this the right way to do it?