Click here to Skip to main content
15,896,063 members

Welcome to the Lounge

   

For discussing anything related to a software developer's life but is not for programming questions. Got a programming question?

The Lounge is rated Safe For Work. If you're about to post something inappropriate for a shared office environment, then don't post it. No ads, no abuse, and no programming questions. Trolling, (political, climate, religious or whatever) will result in your account being removed.

 
GeneralRe: Where has the witch gone ? Pin
honey the codewitch30-Sep-19 19:47
mvahoney the codewitch30-Sep-19 19:47 
GeneralRe: Where has the witch gone ? Pin
Sander Rossel30-Sep-19 20:01
professionalSander Rossel30-Sep-19 20:01 
GeneralRe: Where has the witch gone ? Pin
Richard Deeming1-Oct-19 0:59
mveRichard Deeming1-Oct-19 0:59 
GeneralRe: Where has the witch gone ? Pin
OriginalGriff30-Sep-19 21:05
mveOriginalGriff30-Sep-19 21:05 
GeneralRe: Where has the witch gone ? Pin
the goat in your machine30-Sep-19 22:06
the goat in your machine30-Sep-19 22:06 
GeneralRe: Where has the witch gone ? Pin
honey the codewitch30-Sep-19 19:09
mvahoney the codewitch30-Sep-19 19:09 
JokeRe: Where has the witch gone ? Pin
Nand321-Oct-19 1:09
Nand321-Oct-19 1:09 
GeneralLargest Code File? Pin
michaelbarb30-Sep-19 9:37
michaelbarb30-Sep-19 9:37 
I was recently given a Windows form application to work on. It was done as a single form with over 24,000 lines in the code behind file. I was taught that no file should be over 1,000 lines. Maybe 2,000 if a lot of repetition was required. What do others feel about the maximum size of a single file?

Not also the single form had nested tab containers with over 600 controls on this singe form. They went as much as 5 deep. It was an abuse of the Window Forms framework in many aspects. My question is only about code file size.
So many years of programming I have forgotten more languages than I know.

GeneralRe: Largest Code File? PinPopular
Kevin Marois30-Sep-19 9:49
professionalKevin Marois30-Sep-19 9:49 
GeneralRe: Largest Code File? Pin
michaelbarb30-Sep-19 9:57
michaelbarb30-Sep-19 9:57 
GeneralRe: Largest Code File? Pin
PIEBALDconsult30-Sep-19 10:02
mvePIEBALDconsult30-Sep-19 10:02 
GeneralRe: Largest Code File? Pin
Sander Rossel30-Sep-19 10:02
professionalSander Rossel30-Sep-19 10:02 
GeneralRe: Largest Code File? Pin
harold aptroot30-Sep-19 10:33
harold aptroot30-Sep-19 10:33 
GeneralRe: Largest Code File? Pin
Rick York30-Sep-19 10:41
mveRick York30-Sep-19 10:41 
GeneralRe: Largest Code File? Pin
Dave Kreskowiak30-Sep-19 10:42
mveDave Kreskowiak30-Sep-19 10:42 
GeneralRe: Largest Code File? Pin
kmoorevs30-Sep-19 11:13
kmoorevs30-Sep-19 11:13 
GeneralRe: Largest Code File? Pin
enhzflep30-Sep-19 16:55
enhzflep30-Sep-19 16:55 
GeneralRe: Largest Code File? Pin
kmoorevs1-Oct-19 4:05
kmoorevs1-Oct-19 4:05 
GeneralRe: Largest Code File? Pin
BillWoodruff30-Sep-19 11:46
professionalBillWoodruff30-Sep-19 11:46 
PraiseRe: Largest Code File? Pin
michaelbarb1-Oct-19 4:00
michaelbarb1-Oct-19 4:00 
GeneralRe: Largest Code File? Pin
grralph12-Oct-19 2:06
grralph12-Oct-19 2:06 
GeneralRe: Largest Code File? Pin
Mycroft Holmes30-Sep-19 12:32
professionalMycroft Holmes30-Sep-19 12:32 
GeneralRe: Largest Code File? Pin
Matthew Dennis30-Sep-19 12:45
sysadminMatthew Dennis30-Sep-19 12:45 
GeneralRe: Largest Code File? Pin
Amarnath S30-Sep-19 14:16
professionalAmarnath S30-Sep-19 14:16 
GeneralRe: Largest Code File? Pin
Member 916705730-Sep-19 20:40
Member 916705730-Sep-19 20:40 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.