axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Eran Chinthaka" <chinth...@opensource.lk>
Subject RE: [axis2] 80/100/120 columns Re: [axis2] Re: [Axi2] Coding style
Date Tue, 14 Dec 2004 02:54:19 GMT
Ok, since people are agreeing can someone kindly please lay down the
settings we should have in our IDEA settings.

Thankx and regards,
Eran Chinthaka

>>
>>as 100 has the biggest chance of success (?!)
>>
>>+1 100 :)
>>
>>alek
>>
>>Glen Daniels wrote:
>>
>>>> I'm -1 on using any other magic # other than 80 .. if we're
>>>> crossing the 80 column barrier then we might as well say
>>>> "get to loving that horizontal scroll bar".
>>>>
>>>> The alternative is to encourage people to refactor code
>>>> better so that they don't need to write such long lines. Our
>>>> objective is better code, not fewer lines! What is gained by
>>>> having an extra 20+ chars per row??
>>>
>>>
>>> In fact I think 100 chars would be OK, but I'm not for increasing it
>>> beyond that.  What gets gained is that you don't have to look at code
>>> like this:
>>>
>>> String someUsefulVariableName = someObject.someSubObj.
>>>          someMethodCall(SomeClass.staticVariable,
>>>                         someObj2,
>>>                         someObj3)
>>>
>>> There are, I think, a bunch of cases where an extra 20 chars would let
>>> you put chained references on one line.
>>>
>>> However, I'm fine with leaving it at 80 as well.
>>>
>>> +1 80
>>> +1 100
>>> -1 120
>>>
>>> --Glen
>>
>>
>>
>>--
>>The best way to predict the future is to invent it - Alan Kay
>>




Mime
View raw message