|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
[appleeaters]Length (lines) excluding conmments?
Purely out of curiosity... What is the length of the script(s) you consider to be your best candidate so far (excluiding comments...)
I have been hovering right around 150 lines... give or take. I figure that is an innocuous way to get an idea of what I am up against apart from the benchmarking... which has been interesting to say the least (Thanks Fidian & Cypher!) |
|
#2
|
|||
|
|||
|
[appleeaters]RE: Length (lines) excluding conmments?
|
|
#3
|
|||
|
|||
|
[appleeaters]RE: Length (lines) excluding conmments?
Are you taking into account multiline comments and single line comments at the end of a code line?
|
|
#4
|
|||
|
|||
|
[appleeaters]RE: Length (lines) excluding conmments?
Forgot to login.
|
|
#5
|
|||||
|
|||||
|
[appleeaters]RE: Length (lines) excluding conmments?
cat robot.php | grep -vE "^[[:space:]]*(//.*)?$" | wc -l
This results in 373 lines of code. However, this is not accounting for programming style. I use a more spaced out method: php Code:
|
![]() |
| Viewing: Codewalkers Forums > PHP Contests > Older Contests > [appleeaters]Length (lines) excluding conmments? |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|
|
|
|