Note: The question is about BUG FREE PB Code!
Lines of Code in an hour?
-
techjunkie
- Addict

- Posts: 1126
- Joined: Wed Oct 15, 2003 12:40 am
- Location: Sweden
- Contact:
Lines of Code in an hour?
Yeah! Now the Poll is here! It had to come in this kind of Forum! 
Note: The question is about BUG FREE PB Code!
Note: The question is about BUG FREE PB Code!

(\__/)
(='.'=) This is Bunny. Copy and paste Bunny into your
(")_(") signature to help him gain world domination.
-
techjunkie
- Addict

- Posts: 1126
- Joined: Wed Oct 15, 2003 12:40 am
- Location: Sweden
- Contact:
i estimate i write about 50 to 60 lines of error free code per hour (effectively averaged out), i think i write actually a bit more, but some nasty obscure bugs tend to bring productivity down
and hey, no, i'm not afraid to say so
<edit> well lately productivity has dropped a little to 30..40... too many bugs...
and hey, no, i'm not afraid to say so
<edit> well lately productivity has dropped a little to 30..40... too many bugs...
Last edited by blueznl on Mon May 08, 2006 8:48 pm, edited 1 time in total.
( PB6.00 LTS Win11 x64 Asrock AB350 Pro4 Ryzen 5 3600 32GB GTX1060 6GB - upgrade incoming...)
( The path to enlightenment and the PureBasic Survival Guide right here... )
( The path to enlightenment and the PureBasic Survival Guide right here... )
-
techjunkie
- Addict

- Posts: 1126
- Joined: Wed Oct 15, 2003 12:40 am
- Location: Sweden
- Contact:
Ehhhh... someone codes > 500 lines of bug free PB code / hour?!?
That's one line every 7.2 second! If we take the Gadget.pb example;
With all blank lines and the comment header removed, it is 84 lines. This includes 3572 characters (with spaces). So one line of PB code would be 42 characters.
Even if we remove all spaces (2689 characters) it will be 32 characters / line.
So this person is typing 4.4 bug free characters / second (without spaces)!!
That's impossible - or is it Fred?!?!

That's one line every 7.2 second! If we take the Gadget.pb example;
With all blank lines and the comment header removed, it is 84 lines. This includes 3572 characters (with spaces). So one line of PB code would be 42 characters.
Even if we remove all spaces (2689 characters) it will be 32 characters / line.
So this person is typing 4.4 bug free characters / second (without spaces)!!
That's impossible - or is it Fred?!?!

(\__/)
(='.'=) This is Bunny. Copy and paste Bunny into your
(")_(") signature to help him gain world domination.
-
DarkDragon
- Addict

- Posts: 2347
- Joined: Mon Jun 02, 2003 9:16 am
- Location: Germany
- Contact:
> That's one line every 7.2 second
It's not hard to type a line every 7 seconds. Here is a bug-free line:
Took me less than 2 seconds to type. Probably less than 1 second with AutoComplete.
Nobody said a line of code has to be long.
In fact, "good programming" says that
you should only ever have one command per line anyway.
It's not hard to type a line every 7 seconds. Here is a bug-free line:
Code: Select all
ev=WaitWindowEvent()
Nobody said a line of code has to be long.
you should only ever have one command per line anyway.
I compile using 5.31 (x86) on Win 7 Ultimate (64-bit).
"PureBasic won't be object oriented, period" - Fred.
"PureBasic won't be object oriented, period" - Fred.
-
Killswitch
- Enthusiast

- Posts: 731
- Joined: Wed Apr 21, 2004 7:12 pm
I said >300, but it's usually just around 300. The main reason I'm able to do this is because I write a chunk of code that does something specific then test it; fix it; then move on. Most of my bugs are usually spelling errors
.
~I see one problem with your reasoning: the fact is thats not a chicken~
-
techjunkie
- Addict

- Posts: 1126
- Joined: Wed Oct 15, 2003 12:40 am
- Location: Sweden
- Contact:
Well, to be frank I suppose when you have these kind of questions, you are talking about NEW bug free code?!?!
No cut & paste, no re-usable code and without autocomplete.
The question is really stupid and I think time has caught up with it.
No cut & paste, no re-usable code and without autocomplete.
The question is really stupid and I think time has caught up with it.

(\__/)
(='.'=) This is Bunny. Copy and paste Bunny into your
(")_(") signature to help him gain world domination.
- Joakim Christiansen
- Addict

- Posts: 2452
- Joined: Wed Dec 22, 2004 4:12 pm
- Location: Norway
- Contact:


