I have posted enough code to this site, feel free to grab
some and criticize.
When I have examined my code in the past I find that my
average function is about 10 lines. At a guess about
1/3 of those functions are public for whatever package
they are in. Public functions get a comment. Function
names are descriptive. Most variables are private to a
If I cannot find a descriptive name for a 10 line function
that gives you some idea why that function exists, that
indicates a problem in how I am breaking the problem up.
As with any personal style, it takes getting used to. And
no, I don't always do a particulalry good job of it.
But I don't think that modularizing less and commenting
more would be an improvement.