Re: indented code

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

Karl Dahlke, le Thu 16 Feb 2006 21:00:35 +0000, a écrit :
> Indent can be told to format in precisely this way.
> The following .indent.pro file seems to do a pretty good job for all parties,
> and I will probably apply it to my edbrowse code in the next few days.

Great :)

> Any thoughts on these settings, from a blind or sighted perspective?

It seems good, I have just a few remarks:
- Why using 4 spaces? You can just use tabs and let the user choose his
  tab size.
- Keeping if(n < CHUNKSIZE) break; on a single line doesn't hurt that
  much for sighted people, and is quite more readable on braille
  devices. However, I couldn't find an indent option for preventing him
  from adding a newline. Maybe we could ask upstream for such option.

Regards,
Samuel


[Index of Archives]     [Linux for the Blind]     [Fedora]     [Kernel List]     [Red Hat Install]     [Red Hat Watch List]     [Red Hat Development]     [Gimp]     [Yosemite News]     [Big List of Linux Books]