3 ms·
I'm not going to say you definitely need to split them, but there's a good reason to do that, even if there are no other users - this read easier: def func
by viraptor 8y ago
I'm not going to say you definitely need to split them, but there's a good reason to do that, even if there are no other users - this read easier:
def function:
do_foo()
something = do_bar()
frobnicate(something)
than this:
def function:
// do foo
lots
of
detailed
code
// do bar
lots
something = of
other
stuff
// frobnicate
...
At least it makes the dependencies and logical blocks of functionality more clear.
- deleted 8y ago[deleted]