On 25 October 2010 12:28, Miroslav Pokorny <[email protected]>wrote:

> On Mon, Oct 25, 2010 at 7:04 PM, Kevin Wright <[email protected]>wrote:
>
>> No, I never stated that, because I don't believe it.
>>
>> Using higher-level concepts with fewer *tokens* will reduce the number of
>> bugs.  It just so happens that few tokens usually result in shorter code.
>>
>>
> Thats not what you said
>

Wow, is it pantomime season already?  The only possible response is "oh yes
I did"

I can even quote, from 11 emails ago:

"...several case studies that show the number of bugs in a piece of code is
basically a fixed percentage of the number of *tokens*..."



> you made a generalised sweeping statement that can only be wrong because
> nothing in software is ever that simple.
>

That itself is a generalised sweeping statement!

It can *only* be wrong, so it can never be right?  Did you truly mean to
state that shorter code can *never* have fewer bugs than equivalent longer
code?


>
>
I don't even consider comments when thinking about how long code is, because
>> comments aren't code.
>>
>> Using shorter identifiers *may* reduce the risk of bugs if they're
>> otherwise so long that they obscure the essential complexity of an
>> algorithm.  Seriously, would you write something like this?
>>
>> for(int
>> indexOfAuthorInCurrentIteration=0; 
>> indexOfAuthorInCurrentIteration<=authorsFromNameQuery.length;
>> ++indexOfAuthorInCurrentIteration) {
>>   Author currentAuthorBeingIteratedOver
>> = authorsFromNameQuery[indexOfAuthorInCurrentIteration]
>>   // do something with the author
>> }
>>
>> Do you NOT believe that shorter names would make the example clearer?
>>
>> On 25 October 2010 02:38, Miroslav Pokorny <[email protected]>wrote:
>>
>>> @Kevin
>>>
>>> I guess refactoring code so all identifiers are really short single
>>> characters ( a human powered obfuscator) means i just made my code have less
>>> bugs..right ?
>>>
>>> If my class names are shorter and thus my source files have less
>>> characters does that mean my code has less bugs ?
>>>
>>> if my code has no comments does that mean it has less bugs ?
>>>
>>> --
>>> You received this message because you are subscribed to the Google Groups
>>> "The Java Posse" group.
>>> To post to this group, send email to [email protected].
>>> To unsubscribe from this group, send email to
>>> [email protected]<javaposse%[email protected]>
>>> .
>>> For more options, visit this group at
>>> http://groups.google.com/group/javaposse?hl=en.
>>>
>>
>>
>>
>> --
>> Kevin Wright
>>
>> mail / gtalk / msn : [email protected]
>> pulse / skype: kev.lee.wright
>> twitter: @thecoda
>>
>>  --
>> You received this message because you are subscribed to the Google Groups
>> "The Java Posse" group.
>> To post to this group, send email to [email protected].
>> To unsubscribe from this group, send email to
>> [email protected]<javaposse%[email protected]>
>> .
>> For more options, visit this group at
>> http://groups.google.com/group/javaposse?hl=en.
>>
>
>
>
> --
> mP
>
>  --
> You received this message because you are subscribed to the Google Groups
> "The Java Posse" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected]<javaposse%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/javaposse?hl=en.
>



-- 
Kevin Wright

mail / gtalk / msn : [email protected]
pulse / skype: kev.lee.wright
twitter: @thecoda

-- 
You received this message because you are subscribed to the Google Groups "The 
Java Posse" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/javaposse?hl=en.

Reply via email to