Reply to post: Re: "spaces won with 51 per cent of the vote"

Without any apparent irony, Google marks Chrome's 'small' role in web ecosystem

MacroRodent
Mushroom

Re: "spaces won with 51 per cent of the vote"

> but tabs can show customised widths for each user in the same piece of code

THIS is precisely why indenting with tabs cannot be done any more. Some idiot IDE makers made them 4 steps by default, with the result the code looks awful if viewed with an editor that expands tabs in the standard way by 8 steps, or viewed on a terminal, or printed.

I used to indent with a smart mix of tabs and spaces (Emacs supports this naturally), but had to stop because of those IDE:s.

Standardising on indentation by spaces is now the only working option when you have to work with several developers, using different editors. Some projects I work on actually use hooks that reject merging code if source contains tabs.

POST COMMENT House rules

Not a member of The Register? Create a new account here.

  • Enter your comment

  • Add an icon

Anonymous cowards cannot choose their icon