Interesting language comparison article [OT]

Unknown W. Brackets unknown at simplemachines.org
Wed Mar 15 00:21:23 PST 2006


Ah, yes, that's a good point as well.  I'm very careful to only use 
reasonable-quality editors, such as Visual Studio (which actually 
auto-corrects this issue and clears lines that are just whitespace if 
you don't type anything on them.)

And, another point about tabs is that it makes it a lot easier to 
navigate code with the carrot.  I always assume people who hate hard 
tabs must not like arrow keys or something....

-[Unknown]


> Unknown W. Brackets wrote:
>> That's only because they are used inconsistently.  The general rule is 
>> that tabs should never be used after a non-tab character on a line. 
>> Bam, instant portability and everyone gets their own tab size.
> 
> That's a good rule, but you also need to make sure that lines with tab 
> indentation aren't being mixed with lines with space indentation. Most 
> editors don't enforce this, but it ought to be solvable. The problem 
> with tabs might simply be that so many text editors don't handle them 
> correctly.



More information about the Digitalmars-d mailing list