On another note, I once REMOVED around 23K lines of code from a program without affecting any functionality - and it wasn't "dead" code, either. I merely changed thousands and thousands of very "similar" code blocks that used hard-coded values into just couple of dozen subroutines that used variables passed on the Calls instead. Even so, the resulting program still had over 40K lines of code left.
That's a really big program. What was/is it used for?
Pete
Hi Pete
about the amount of line of effective code
I have riched 1400 lines and no more in QBASIC when I decide to make a copy of that tools very useful in DOS time like Norton commander and Disktool...
I'm just hobbist :-)
however there is a saying
no how big it is but how you use it that makes the difference
:P
That would have to be Tetris 64 for me, at 2524 lines(~2450 after comments/white space). Go over to programs and check it out if you haven't already. https://www.qb64.org/forum/index.php?topic=661.msg6027#msg6027
But if you use it well AND it's big...I absolutely agree! ;-)
I have coded about 2658 lines of code for my game!
It is beautiful game - https://www.qb64.org/forum/index.php?topic=345.msg2322#msg2322
Yeah! But how do you know!?I have coded about 2658 lines of code for my game!
It is beautiful game - https://www.qb64.org/forum/index.php?topic=345.msg2322#msg2322
So I take it you made that game shortly before the app, "Angry Birds" came out?
Pete :D
ROFL @ "laboriously typed all that crap!" I hear you. When I was in high school, back in those sexist days of the 70's, I vowed I'd never take some stupid worthless typing class. That was because I had no intention of growing boobs and becoming someone's secretary. Now I'm old, probably typed (coded) twice as much as anyone's secretary, and ended up growing boobs, anyway!
My Lottery programs are only 3000 line max, but my data for them can extend to 10,000 lines depending on how many draws have been made and how far back I go, generally I go back at least 5 years. Russ