Manu Abraham wrote: > On Sun, Sep 13, 2009 at 10:33 AM, Harry H. Arends wrote: >> Most code is getting messedup when users use Tab's in their code. >> That would not be a problem is you instruct the used editor to >> replace them by spaces such as in the MPLAB editor. >> >> Code starting in the first colom with comments is def. Not readyble >> and someone that would like to help is not going to decyfer this. >> And some people on the list can be sometimes vey direct, but read >> between the lines and yoy wil see some interesting solutions. > > Not to offend anyone, i am new to this list. > > FWIW, Wouldn't it be better, if you instruct the email client to > handle tabs properly, Now if you can define what means "handle tabs properly", we could get somewhere. What a tab means is 100% dependent on what the individual editor is set up to make it mean. I have worked in places where a tab was every 4 positions, 3 positions, 8 positions... you get the idea :) There are even editors that can be set up to have tab locations at irregular places (sometimes used for assembly). So the only way to share code between different editors without messing with the configuration of the editor is to not use tabs. > But strictly speaking it becomes a nightmare with spaces, when you are > dealing with a SCM. This comes to play, when you want to look at what > you have changed on a piece of code over time on a specific file or > project. For small < 500 lines of code this doesn't matter, but for > larger code sets this does really matter. For my own projects (where I'm not bound by a client's guidelines), I use only spaces, no tabs. I use a version control system, and never had a problem with my use of spaces. What problems do you have with spaces? Maybe that's a problem of the specific SCM system you're using... Gerhard -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist