in reply to The difficulties of commenting code
can becomesub xxx { # this code does foo and bar and baz [many lines of code] }
sub xxx { do_foo_and_bar_and_baz(); } sub do_foo_and_bar_baz { # no explicit comment needed, since sub has clear name [many lines of code] }
|
|---|