Click here to Skip to main content
15,906,816 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: 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 
GeneralRe: Largest Code File? Pin
OriginalGriff30-Sep-19 21:12
mveOriginalGriff30-Sep-19 21:12 
GeneralRe: Largest Code File? Pin
#realJSOP30-Sep-19 23:41
professional#realJSOP30-Sep-19 23:41 
GeneralRe: Largest Code File? Pin
BillWoodruff1-Oct-19 7:20
professionalBillWoodruff1-Oct-19 7:20 
GeneralRe: Largest Code File? Pin
CPallini30-Sep-19 21:18
mveCPallini30-Sep-19 21:18 
GeneralRe: Largest Code File? Pin
dan!sh 30-Sep-19 22:12
professional dan!sh 30-Sep-19 22:12 
GeneralRe: Largest Code File? Pin
Spoon Of Doom30-Sep-19 23:32
Spoon Of Doom30-Sep-19 23:32 
First place I worked at had a huge codebase, where files between 100k-200k lines were the rule, rather than the exception. And no, that's not a typo, I'm talking six figures line count - and with pretty much no comments that could take up space.

This was code that, before my time there, went through at least two translations from different programming languages, done by automated tools and only touched up where it broke after that.
I don't know if it was a direct consequence, but there were also a lot of constructs like

PHP
function a(x, y)
{
  return b(x, y);
}

function b(x, y)
{
  return c(x, y);
}

function c(x, y)
{
  return d(x, y);
}

function d(x, y)
{
  //do something with x
  //maybe do something else with x, if the 4 lines of if conditions happens to come out true
  //ignore y because who needs that apparently
  return mysteriousStuff;
}

which added some, but not all of the length.

There's a *lot* more there I could rant about, but I'll stick to unnecessary length. Suffice it to say, there's a reason that a) I went somewhere else and b) the company apparently doesn't exist anymore.
GeneralRe: Largest Code File? Pin
#realJSOP30-Sep-19 23:37
professional#realJSOP30-Sep-19 23:37 
GeneralRe: Largest Code File? Pin
MarkTJohnson1-Oct-19 3:25
professionalMarkTJohnson1-Oct-19 3:25 
GeneralRe: Largest Code File? Pin
#realJSOP1-Oct-19 3:33
professional#realJSOP1-Oct-19 3:33 
GeneralRe: Largest Code File? Pin
joje19851-Oct-19 0:45
joje19851-Oct-19 0:45 
GeneralRe: Largest Code File? Pin
CraigGOliver1-Oct-19 2:18
CraigGOliver1-Oct-19 2:18 
GeneralRe: Largest Code File? Pin
agolddog1-Oct-19 3:02
agolddog1-Oct-19 3:02 
GeneralRe: Largest Code File? Pin
Asday1-Oct-19 3:39
Asday1-Oct-19 3:39 
GeneralRe: Largest Code File? Pin
PIEBALDconsult1-Oct-19 5:51
mvePIEBALDconsult1-Oct-19 5:51 
GeneralRe: Largest Code File? Pin
Asday1-Oct-19 8:31
Asday1-Oct-19 8:31 
GeneralRe: Largest Code File? Pin
charlieg2-Oct-19 2:12
charlieg2-Oct-19 2:12 
GeneralAstronomy photographer of the year 2019 PinPopular
Jörgen Andersson30-Sep-19 9:03
professionalJörgen Andersson30-Sep-19 9:03 
GeneralHi, can someone reply Pin
glennPattonWork330-Sep-19 6:12
professionalglennPattonWork330-Sep-19 6:12 
GeneralRe: Hi, can someone reply Pin
Marc Clifton30-Sep-19 6:22
mvaMarc Clifton30-Sep-19 6:22 
GeneralRe: Hi, can someone reply Pin
OriginalGriff30-Sep-19 6:26
mveOriginalGriff30-Sep-19 6:26 
GeneralRe: Hi, can someone reply Pin
glennPattonWork330-Sep-19 8:52
professionalglennPattonWork330-Sep-19 8:52 
GeneralRe: Hi, can someone reply Pin
OriginalGriff30-Sep-19 20:38
mveOriginalGriff30-Sep-19 20:38 
JokeRe: Hi, can someone reply PinPopular
Richard Deeming30-Sep-19 6:43
mveRichard Deeming30-Sep-19 6:43 

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.