Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Geek Culture / Source Research

Author
Message
Rob K
Retired Moderator
22
Years of Service
User Offline
Joined: 10th Sep 2002
Location: Surrey, United Kingdom
Posted: 2nd Oct 2003 18:37
Hi folks, just a bit of quick research I need to do:

- How many lines of code is your largest project thus far?

- How many functions have you used in the above project?

- How long does the above project take to compile?

- Do you declare multiple vars like this:

global one,two,three

or like this:

global one
global two
global three

- How many include files are there in a normal project.

- Are you a function() or a gosub: person? (Or both)

I'd be grateful if a few of you could answer some/all of the above questions .

My answers are:

4000, 30, ?, seperate lines, 5, function()

BatVink
Moderator
21
Years of Service
User Offline
Joined: 4th Apr 2003
Location: Gods own County, UK
Posted: 2nd Oct 2003 18:58 Edited at: 2nd Oct 2003 18:59
- How many lines of code is your largest project thus far?
1,500 lines, unfinished - likely to be ~ 3,000 lines

- How many functions have you used in the above project?
40 to 50

- How long does the above project take to compile?
30 seconds

- Do you declare multiple vars like this:
global one
global two
global three

for clarity


- How many include files are there in a normal project.
~ 8 to 10

- Are you a function() or a gosub: person? (Or both)
Always functions, never Gosubs. I find Gosubs too restrictive

BatVink (formerly StevieVee)
http://facepaint.me.uk/catalog/default.php
IanM
Retired Moderator
22
Years of Service
User Offline
Joined: 11th Sep 2002
Location: In my moon base
Posted: 2nd Oct 2003 22:03
- How many lines of code is your largest project thus far?
3000 to 4000 lines (when all includes are included) and is also unfinished - likely to be anywhere up to 15000 lines

- How many functions have you used in the above project?
somewhere around 150 - likely to increase to about 500ish - maybe more

- How long does the above project take to compile?
Don't know - I've never compiled everything together - I prefer to build the functionality first (with test harnesses) then glue it all together at the end

- Do you declare multiple vars like this:
global one
global two
global three

Yep, me too

- How many include files are there in a normal project.
Again, I don't know yet ... but may go up to 50+

- Are you a function() or a gosub: person? (Or both)
Definitely functions for me
David T
Retired Moderator
22
Years of Service
User Offline
Joined: 27th Aug 2002
Location: England
Posted: 2nd Oct 2003 22:18
Quote: "- How many lines of code is your largest project thus far?"


around 3500

Quote: "- How many functions have you used in the above project?"


not many (<10), about 40 subs though

Quote: "- How long does the above project take to compile?"


about 10 secs

Quote: "- Do you declare multiple vars like this:
global one,two,three
or like this:
global one
global two
global three"


2nd way

Quote: "- How many include files are there in a normal project."


depends, for a game about 10

Quote: "- Are you a function() or a gosub: person? (Or both)"


gosub for just splitting up code, funcation for specific, erm, functions

c:/dos
c:/dos run
run dos run
Preston C
21
Years of Service
User Offline
Joined: 16th May 2003
Location: Penn State University Park
Posted: 3rd Oct 2003 00:08
Quote: "- How many lines of code is your largest project thus far?
"


450

Quote: "- How many functions have you used in the above project?
"


User Made? 0

Quote: "- How long does the above project take to compile?
"


4-5 Seconds

Quote: "- Do you declare multiple vars like this:
"


global one
global two
global three

Quote: "- How many include files are there in a normal project.
"


0

Quote: "- Are you a function() or a gosub: person? (Or both)
"


Gosub


Dark Basic Pro has arived! I can feel the power!
Shadow Robert
22
Years of Service
User Offline
Joined: 22nd Sep 2002
Location: Hertfordshire, England
Posted: 3rd Oct 2003 02:06
1) 180,000 (179,424) across 56 includes - Main Source 3,812
2) 364 Functions
... 42 Subroutines
... 93 Structured Types
3) 39minutes 21seconds (2minutes to load DLLs, 5minutes into main menu)
4) Depended on what made it easier to read, usually when grouped declarations are made the i'll use the ',' prefix else it is seperate
5) Again depends on the project, i have a small source library which contains alot of the DirectX Library Prototypes for internal DBP use and alot of Header files for DBP's features (suchas Shaders and FVF) to make my life alot easier.
6) Both... each are very useful in thier own right

Mattman
21
Years of Service
User Offline
Joined: 5th Jun 2003
Location: East Lansing
Posted: 3rd Oct 2003 04:31
about 300

2 (my first real project)

good version --- about 5-10 seconds
bad version --- about 1 minute

Neither (DBC does not have em I belive)

0

function()

Got a knack for finding secrets??? Jingot Racing --- A new brand of Racing --- Only from Nightwatch Studios
"hey, it's tomorrow" --- Hamish
Ian T
22
Years of Service
User Offline
Joined: 12th Sep 2002
Location: Around
Posted: 5th Oct 2003 00:43
3890, 13, ???, seperate lines, one-two, function()


Cheers

--Mouse: Famous (Avatarless) Fighting Furball

A very nice %it, indeed.

Login to post a reply

Server time is: 2024-11-24 00:00:20
Your offset time is: 2024-11-24 00:00:20