|
> I used to be a space person, but find tabs easier to edit; no need to press > backspace or space 4 times. That's incorrect, that happens with spaces as well. Tabs do not have an advantage in that case.
The advantages of tabs are: 1) Saves a small amount of disk space (oh please!) 2) Viewer can select tab width himself and see your code at tab=2, tab=3 etc
(However I don't view that second one as a big advantage, because if you've lined up something nicely it'll get broken.)
The advantage of spaces are that it looks the same in any editor (e.g. Nano, DOS edit, MSVC)
Beyond that it all religous
> > > same questions can be asked about this: > > a { > bla > } > > b > { > bla > } > > i'd be a.
Java style - I hate it, but a lot of other people hate it as well. Why it's the Java standard is beyond me :P
> > > or this: > > a: if(x+y==z) ... > b: if (x + y == z) ... > > i'd be a too. >
You learn something old everyday...
|