J
Justin C
I keep writing programs that (for me at least) start getting large. I
know they're small, even by the standard of many of the modules that
I've seen, but how do you decide when to break down your code and
modularise?
Do you only create modules if you think the code is likely to re
re-used, and if it's not then if the program has 10k lines then so
be it?
I fine myself bashing away at the keyboard, and the next thing I know is
that I've got 1000 lines and keeping track of what's where starts
getting complicated (I do love an editor that can fold!). I was just
wondering how others program.
Justin.
know they're small, even by the standard of many of the modules that
I've seen, but how do you decide when to break down your code and
modularise?
Do you only create modules if you think the code is likely to re
re-used, and if it's not then if the program has 10k lines then so
be it?
I fine myself bashing away at the keyboard, and the next thing I know is
that I've got 1000 lines and keeping track of what's where starts
getting complicated (I do love an editor that can fold!). I was just
wondering how others program.
Justin.