I am busy writing a program in Visual Basic.NET and I have a few questions regarding best practices. I know this is a little open, but only a few recommendations / ideas or even links will be appreciated.
Firstly, the code in the main form becomes a little long (about 1000 lines). What is the acceptable number of lines of code for the main form or any other form in this regard? I divided the program into classes, how logical this is for me. What are some good guidelines on what should be added together in a class? Should I add functions to classes as a general function, and not put the code in the main form? Also, should I refrain from adding code to modules?
On a similar note, I seek information on how to design a large software project. I know the language pretty well now, but how to actually plan, how to create a great program, or does it only come with experience?
Johan source
share