indented code
Samuel Thibault
samuel.thibault at ens-lyon.org
Fri Feb 17 08:35:14 UTC 2006
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
More information about the Blinux-develop
mailing list