asaguden wrote:
> Hi,
>
> I have a specific question regarding source formatting. I like the code
> neat and easy to read. For this reason I would like the = sign to be
> aligned.
>
> ------------------------------
> private metod( String arg1, LongClassName arg2 ){
> int var = 0;
> String myArg1 = arg1;
> LongClassName myArg2 = arg2;
> }
> ------------------------------
>
> Can any source formatter handle this?
Personally, I don't usually find that easier to read.
If it were, say, a grouping of the same type of variables, I could see
aligning it that way. but really...
String myString = "hello World";
int myInt = 1;
is easier to read than:
String myString = "Hello World";
int myInt = 1;
All I see is ("Hello World" 1), and I have to spend a little more
effort to match values with variables.
Granted, it is slightly more aesthetically pleasing, but not enough to
justify that use in my opinion.
I agree, neat and easy-to-read code are VERY important, but I don't
think neat is the same as easy-to-read in this case. I think
easy-to-read loses out.
Well, just my opinion anyway.