Problems? Is your data what you think it is? | |
PerlMonks |
comment on |
( [id://3333]=superdoc: print w/replies, xml ) | Need Help?? |
> Oh, and I do care a single * about leading tabs or spaces even if you mix them. I don't see them. My editor does the right thing
If someone is using an indentation different to 4 you'll get ugly results. (That's actually a running gag in code sections posted here, because browsers still default to tab=8) The only right thing your editor can do is reindenting all the code, which will result in a full diff when checking into version control. And even with indent 4 calling untabify (or whatever it's called in vim) will cause unwanted diffs. My strategy is to commit the untabified version first. But doing this everytime a colleague touched the file might get annoying. So this question is of relevance when working in a team, IMHO. (And yes certainly YMMV)
Cheers Rolf In reply to Re^2: How has your coding style changed over the years?
by LanX
|
|