On 12/5/2010 10:09 AM, Gregg Wonderly wrote:
I understand that many people have differing problems with just tabs.
All of the printing, cating and screen dumping issues are most likely
in an environment where you can use

pr -te 4 ... | more

This does not really help with copy-paste into e-mail.

Many other out if the IDE/editor issues can be solved with something
similar.

My main issue is, about in the editor/IDE.  Iff there are just tabs,
then anything that your IDE does with tab expansion does not hide
indentation.

Iff there are only spaces, then while you are viewing, you won't see
anything odd.  But when you start editing, then you have to have your
tabs set to the same number of spaces as the source file.  Of you
expand tabs to spaces all us well.  If you don't, then then next
person to view the file with a different tab setting will have a
nightmare.

Sure, you have to do tabs only or spaces only everywhere for anything
to work.  With tabs you lose the problem in the editor of needing the
same expansion factor.

Don't you need matching set-up either way? Tab-only with the indentation to 4 spaces, and the tabs to 2 would be just as bad as space only with the wrong number of spaces.

The good news about spaces is that the code will display with reasonable indentation in *all* environments, including e.g. quotes in e-mail, regardless of the choice of e-mail client.

Patricia

Reply via email to