• Kache@lemm.ee
    link
    fedilink
    arrow-up
    4
    arrow-down
    1
    ·
    edit-2
    12 days ago

    IMO folding to hide is about equivalent to moving all contents to another file/private function:

    def bad_function(args):
        return _hide_elsewhere(args)
    

    i.e. does nothing. Real solution to pyramids of doom is to fix the code.