Click here to Skip to main content
14,386,394 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 20:47
Memberhoney the codewitch30-Sep-19 20:47 
GeneralRe: Where has the witch gone ? Pin
Sander Rossel30-Sep-19 21:01
professionalSander Rossel30-Sep-19 21:01 
GeneralRe: Where has the witch gone ? Pin
Richard Deeming1-Oct-19 1:59
mveRichard Deeming1-Oct-19 1:59 
GeneralRe: Where has the witch gone ? Pin
OriginalGriff30-Sep-19 22:05
mveOriginalGriff30-Sep-19 22:05 
GeneralRe: Where has the witch gone ? Pin
the goat in your machine30-Sep-19 23:06
Memberthe goat in your machine30-Sep-19 23:06 
GeneralRe: Where has the witch gone ? Pin
honey the codewitch30-Sep-19 20:09
Memberhoney the codewitch30-Sep-19 20:09 
JokeRe: Where has the witch gone ? Pin
Nand321-Oct-19 2:09
MemberNand321-Oct-19 2:09 
GeneralLargest Code File? Pin
michaelbarb30-Sep-19 10:37
Membermichaelbarb30-Sep-19 10: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 10:49
professionalKevin Marois30-Sep-19 10:49 
GeneralRe: Largest Code File? Pin
michaelbarb30-Sep-19 10:57
Membermichaelbarb30-Sep-19 10:57 
GeneralRe: Largest Code File? Pin
PIEBALDconsult30-Sep-19 11:02
professionalPIEBALDconsult30-Sep-19 11:02 
GeneralRe: Largest Code File? Pin
Sander Rossel30-Sep-19 11:02
professionalSander Rossel30-Sep-19 11:02 
GeneralRe: Largest Code File? Pin
harold aptroot30-Sep-19 11:33
Memberharold aptroot30-Sep-19 11:33 
GeneralRe: Largest Code File? Pin
Rick York30-Sep-19 11:41
mveRick York30-Sep-19 11:41 
GeneralRe: Largest Code File? Pin
Dave Kreskowiak30-Sep-19 11:42
mveDave Kreskowiak30-Sep-19 11:42 
GeneralRe: Largest Code File? Pin
kmoorevs30-Sep-19 12:13
Memberkmoorevs30-Sep-19 12:13 
GeneralRe: Largest Code File? Pin
enhzflep30-Sep-19 17:55
Memberenhzflep30-Sep-19 17:55 
GeneralRe: Largest Code File? Pin
kmoorevs1-Oct-19 5:05
Memberkmoorevs1-Oct-19 5:05 
GeneralRe: Largest Code File? Pin
BillWoodruff30-Sep-19 12:46
mveBillWoodruff30-Sep-19 12:46 
PraiseRe: Largest Code File? Pin
michaelbarb1-Oct-19 5:00
Membermichaelbarb1-Oct-19 5:00 
GeneralRe: Largest Code File? Pin
grralph12-Oct-19 3:06
Membergrralph12-Oct-19 3:06 
GeneralRe: Largest Code File? Pin
Mycroft Holmes30-Sep-19 13:32
MemberMycroft Holmes30-Sep-19 13:32 
GeneralRe: Largest Code File? Pin
Matthew Dennis30-Sep-19 13:45
sysadminMatthew Dennis30-Sep-19 13:45 
GeneralRe: Largest Code File? Pin
Amarnath S30-Sep-19 15:16
professionalAmarnath S30-Sep-19 15:16 
GeneralRe: Largest Code File? Pin
Member 916705730-Sep-19 21:40
MemberMember 916705730-Sep-19 21: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.