How long is the average function? I remember being told to keep the program modular and the length of functions relatively short. This is usually ok but I still find myself sometimes writing functions whcih are nearly 100 lines long. So I guess the question is how long is too long?