This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] objdump.c fix formatting.


On Sunday 02 June 2002 11:48 pm, Alan Modra wrote:
- - - snip - - -
>
> I tend to like
>
>   if (some
>
>       || multi
>       || line
>       || condition_particularly_if_the_last_line_is_long_and_)
>
>     {
>       one_statement_particularly_if_the_line_is_long;
>     }
>
Sirs,
I strongly agree. 

During decades of programming, I have found that using Alan's preference a 
great time saver in debugging a program.

When the situation is, that your mind is locked on what you meant to write 
and your eyes refuse to see that what is in front of them isn't it...

The ability to print that section of code and draw a line between matching 
parns...
Or, in modern editors, being able to select one and the editor highlights the 
matching...

Well, in my experience, those "extra" parns are well worth the time and paper 
to write.

Mike


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]