Welcome, Guest: Register On Nairaland / LOGIN! / Trending / Recent / New
Stats: 3,148,004 members, 7,799,438 topics. Date: Tuesday, 16 April 2024 at 09:19 PM

How Many Lines Of Code Is Your Largest Work So Far? - Programming - Nairaland

Nairaland Forum / Science/Technology / Programming / How Many Lines Of Code Is Your Largest Work So Far? (13702 Views)

I’m One With The Code, The Code Is With Me. / How Many Lines Of Code Run Nairaland? / QUIZ: How Many Lines Of Code Can You Use To Reverse A List (2) (3) (4)

(1) (2) (3) (4) (5) (6) (Reply) (Go Down)

How Many Lines Of Code Is Your Largest Work So Far? by seunthomas: 7:18am On Oct 06, 2016
This thread is just for fun.

I want to know how many lines of code you have written so far in one project.

Please dont share works that were combined effort.

I was involved in a project which lasted many months.

At the end of the project we (me and client) just jokingly decided to count the number of codes by looking at the line number on each page.

We discovered it was over 100k lines.

So fire away.

Please be proud if you have even done 20 lines.


Its not easy to pour 10 lines from your end not to talk of 20.
Re: How Many Lines Of Code Is Your Largest Work So Far? by FrankLampard: 7:34am On Oct 06, 2016
How do I count. Because my IDE dey count added libraries too.
Re: How Many Lines Of Code Is Your Largest Work So Far? by seunthomas: 7:36am On Oct 06, 2016
FrankLampard:
How do I count. Because my IDE dey count added libraries too.
Just do an estimate na.
Re: How Many Lines Of Code Is Your Largest Work So Far? by Nobody: 7:56am On Oct 06, 2016
400...in one file.


i know it's not much.... but I try

3 Likes

Re: How Many Lines Of Code Is Your Largest Work So Far? by silento(m): 8:12am On Oct 06, 2016
my was 6thousand that my largest

3 Likes

Re: How Many Lines Of Code Is Your Largest Work So Far? by seunthomas: 8:18am On Oct 06, 2016
silento:
my was 6thousand that my largest

Nice.
Re: How Many Lines Of Code Is Your Largest Work So Far? by 2mNaira: 8:57am On Oct 06, 2016
100 thousand I think or something there about.

I am not too sure. I am not imposition to verify now. But I will update it as soon as i verify.

1 Like

Re: How Many Lines Of Code Is Your Largest Work So Far? by islam1001: 12:59pm On Oct 06, 2016
FrankLampard:
How do I count. Because my IDE dey count added libraries too.

count the last line on each file not your libs
Re: How Many Lines Of Code Is Your Largest Work So Far? by Nobody: 2:54pm On Oct 06, 2016
120 is the maximum that i have ever written

1 Like

Re: How Many Lines Of Code Is Your Largest Work So Far? by Nobody: 3:12pm On Oct 06, 2016
I have written entire frameworks in both JAVA, PHP where I have so many files and libraries, where do i start to count? impossible. It is the days of qbasic, fortran and pascal that i can count lines of code - not enterprise class applications.

3 Likes

Re: How Many Lines Of Code Is Your Largest Work So Far? by FrankLampard: 3:24pm On Oct 06, 2016
islam1001:


count the last line on each file not your libs

Who get that time, if IDE no do am for me, I no dey count.
Re: How Many Lines Of Code Is Your Largest Work So Far? by talk2hb1(m): 3:33pm On Oct 06, 2016
100,000+ undecided undecided
Re: How Many Lines Of Code Is Your Largest Work So Far? by paranorman(m): 3:47pm On Oct 06, 2016
Appro. 700 lines or so, when I wrote a PHP DB Library.
Re: How Many Lines Of Code Is Your Largest Work So Far? by Nobody: 6:13pm On Oct 06, 2016
FrankLampard:


Who get that time, if IDE no do am for me, I no dey count.
Yeah, it is easy to count when your project is say 1-2 files, but in enterprise class projects or in huge MVC projects where you have so many many files, views, helpers, libraries etc, how you go take count?
Re: How Many Lines Of Code Is Your Largest Work So Far? by Nobody: 6:53pm On Oct 06, 2016
dhtml18:

Yeah, it is easy to count when your project is say 1-2 files, but in enterprise class projects or in huge MVC projects where you have so many many files, views, helpers, libraries etc, how you go take count?
I wonder o
Re: How Many Lines Of Code Is Your Largest Work So Far? by Nobody: 7:16pm On Oct 06, 2016
DanielTheGeek:

I wonder o
This thread has done one good thing for me - triggered me into releasing my framework into open-source mode at last.

2 Likes

Re: How Many Lines Of Code Is Your Largest Work So Far? by toheebDOTcom(m): 3:34am On Oct 07, 2016
To those looking at the last line, remember that the lines of the docblock of a getter/setter method is at least times two of the method itself! grin

Diaries God ooo.

Anyways, for me, I sha know that it is 'something' thaaasand. 1 or 999, stories that touch. I remember that night, feeling like say I be one guru... E red for me when d tin no gree work
Re: How Many Lines Of Code Is Your Largest Work So Far? by Nobody: 7:37am On Oct 07, 2016
Alot , even some of them alot of you guys might have used it and cursed me indirectly.
Re: How Many Lines Of Code Is Your Largest Work So Far? by seunthomas: 7:42am On Oct 07, 2016
Na wa for this our so called "Advanced level" programmers.

Una fit write enterprise applications with many files, but figuring out how to count the lines in your files na big wahala.

Me thinks something is up.
Re: How Many Lines Of Code Is Your Largest Work So Far? by Nobody: 7:56am On Oct 07, 2016
seunthomas:

Na wa for this our so called "Advanced level" programmers.

Una fit write enterprise applications with many files, but figuring out how to count the lines in your files na big wahala.

Me thinks something is up.
Not really seems like a waste of time to start counting lines of code for the purpose of informing people here, if it's for trimming down then yeah might be worth the effort.

3 Likes

Re: How Many Lines Of Code Is Your Largest Work So Far? by seunthomas: 8:02am On Oct 07, 2016
pcguru1:

Not really seems like a waste of time to start counting lines of code for the purpose of informing people here, if it's for trimming down then yeah might be worth the effort.

Its actually to inspire yourself and others to do more.

If you are proud of your work am sure you would be curious to know how many lines of code is in it.

We dont need the exact number of lines an approximate value is in order.

Mind you very large projects like entire operating systems have known number of lines.
Re: How Many Lines Of Code Is Your Largest Work So Far? by Nobody: 8:07am On Oct 07, 2016
seunthomas:


Its actually to inspire yourself and others to do more.

If you are proud of your work am sure you would be curious to know how many lines of code is in it.

We dont need the exact number of lines an approximate value is in order.

Mind you very large projects like entire operating systems have known number of lines.

I guess so , you know when you are under mad pressure esp aggressive sprints ita hard to take notes of line of codes but if I were to speculate I'd prob be around for 6k as most of the projects I do are Enterprise and talk to various service (rest calling )so alot of message handling error to response code that along takes a lot of lines so am guessing on an average 4k. You know what I will try and even measure it and update my post.

1 Like

Re: How Many Lines Of Code Is Your Largest Work So Far? by Nobody: 11:45am On Oct 07, 2016
To be honest, I don't write more than 1k lines of code per file except if I'm writing a JS library or something that strictly requires me to write more (maybe a sexy language).
Even those that use MVC or HMVC frameworks like laravel (PHP) or Play (Scala) may not even have to write more than 200 lines of code throughout a project because of the pattern and ready-made libraries.

Combining all the lines of code in all the files of a single enterprise project will be numbering up to 50-100k depending on how large the project is and it doesn't stop there, every new update = more/lesser lines of code.
Re: How Many Lines Of Code Is Your Largest Work So Far? by toheebDOTcom(m): 3:31pm On Oct 07, 2016
DanielTheGeek:
To be honest, I don't write more than 1k lines of code per file except if I'm writing a JS library or something that strictly requires me to write more (maybe a sexy language).
Even those that use MVC or HMVC frameworks like laravel (PHP) or Play (Scala) may not even have to write more than 200 lines of code throughout a project because of the pattern and ready-made libraries.

Combining all the lines of code in all the files of a single enterprise project will be numbering up to 50-100k depending on how large the project is and it doesn't stop there, every new update = more/lesser lines of code.

If you were to go by the SOLID principles, you wouldn't write up to that per file gansef

1 Like

Re: How Many Lines Of Code Is Your Largest Work So Far? by toheebDOTcom(m): 3:31pm On Oct 07, 2016
DanielTheGeek:
To be honest, I don't write more than 1k lines of code per file except if I'm writing a JS library or something that strictly requires me to write more (maybe a sexy language).
Even those that use MVC or HMVC frameworks like laravel (PHP) or Play (Scala) may not even have to write more than 200 lines of code throughout a project because of the pattern and ready-made libraries.

.
Combining all the lines of code in all the files of a single enterprise project will be numbering up to 50-100k depending on how large the project is and it doesn't stop there, every new update = more/lesser lines of code.

If you were to go by the SOLID principles, you wouldn't write up to that per file gansef
Re: How Many Lines Of Code Is Your Largest Work So Far? by Nobody: 3:39pm On Oct 07, 2016
DanielTheGeek:
To be honest, I don't write more than 1k lines of code per file except if I'm writing a JS library or something that strictly requires me to write more (maybe a sexy language).
Even those that use MVC or HMVC frameworks like laravel (PHP) or Play (Scala) may not even have to write more than 200 lines of code throughout a project because of the pattern and ready-made libraries.

Combining all the lines of code in all the files of a single enterprise project will be numbering up to 50-100k depending on how large the project is and it doesn't stop there, every new update = more/lesser lines of code.
But why will you want to write 1k lines per file? for what now? You want to kill the browser ni?
Re: How Many Lines Of Code Is Your Largest Work So Far? by Nobody: 3:50pm On Oct 07, 2016
dhtml18:

But why will you want to write 1k lines per file? for what now? You want to kill the browser ni?

That's just the max, the browser won't break as far as the code is neat and recursive. On an average I'd say around 250 lines per file.
Re: How Many Lines Of Code Is Your Largest Work So Far? by Nobody: 3:58pm On Oct 07, 2016
toheebDOTcom:


If you were to go by the SOLID principles, you wouldn't write up to that per file gansef

Of course, I follow those principles, but that's just about the max I've done per file and as I said: 250 lines per file is my average on a regular project.

An incomplete project I did on Steganography at a time had almost 1,500 lines of code in the main file, not because I didn't follow the "SOLID" principles but the project demanded it and libraries were (/are) scarce for that sort of project.
Wait self, I've forgotten of my JavaScript based Unity projects, I've had up to 5,000 lines of code in a SINGLE file.

Please look at -> [url=programmers.stackexchange.com/questions/176999/at-what-point-range-is-a-code-file-too-big]this[/url]

1 Like

Re: How Many Lines Of Code Is Your Largest Work So Far? by Nobody: 4:08pm On Oct 07, 2016
I was just joking. As a matter of fact, one of the ways of optimizing javaScript speed on a website is by combining your scripts into one file instead of pieces of codes.

1 Like

Re: How Many Lines Of Code Is Your Largest Work So Far? by FincoApps(m): 5:55pm On Oct 07, 2016
dhtml18:
I was just joking. As a matter of fact, one of the ways of optimizing javaScript speed on a website is by combining your scripts into one file instead of pieces of codes.

Yea true, Lol remember that Tic Tac Toe game ?

About 2k lines.... I've optimized it now and still optimizing , it has greatly reduced cheesy
Re: How Many Lines Of Code Is Your Largest Work So Far? by Nobody: 8:15pm On Oct 07, 2016
yes, nice game it was. weldone.
Re: How Many Lines Of Code Is Your Largest Work So Far? by Nobody: 10:21pm On Oct 07, 2016
FincoApps:


Yea true, Lol remember that Tic Tac Toe game ?

About 2k lines.... I've optimized it now and still optimizing , it has greatly reduced cheesy
No wonder the computer was playing like Albert Einstein.

(1) (2) (3) (4) (5) (6) (Reply)

Why Are Developers Crazy About Startup Jobs? / Creating A Group Chat With Html/javascript/php/mysql For Beginners / I Want To Go Into Tech; What Field Should I Choose?

(Go Up)

Sections: politics (1) business autos (1) jobs (1) career education (1) romance computers phones travel sports fashion health
religion celebs tv-movies music-radio literature webmasters programming techmarket

Links: (1) (2) (3) (4) (5) (6) (7) (8) (9) (10)

Nairaland - Copyright © 2005 - 2024 Oluwaseun Osewa. All rights reserved. See How To Advertise. 43
Disclaimer: Every Nairaland member is solely responsible for anything that he/she posts or uploads on Nairaland.