I like the concept of Extreme Programming (as I understand it), that there should be many smaller functions with descriptive names, instead of fewer, longer ones, even if those functions are only called from one piece of code.
I do this all the time, but it does tend to litter the class definition quite a lot. I already mark those “only internal” functions by prepending a “_” to them, but they still take up a lot of editor real estate.
Is there a canonical way to deal with this? For example, write them all in alphabetical order under all the “public” functions, or write them under the function they are called in.
In case it matters I mostly write Python code.