AW: [Htmlparser-developer] tabs
Brought to you by:
derrickoswald
From: Holger S. <Hol...@xt...> - 2003-08-26 07:38:33
|
Hi, The proposed standard of an indent to 4 sounds good.=20 We at our company actually use an indent of 2. Would that be ok too? I also support Fernando in his view of more complete coding standards. How about the original one from Sun = (http://java.sun.com/docs/codeconv/)? Also: Many if not most classes are pretty well documented, but some = aren't. I would like to actively join this project again, so that might help a = lot. ;-) Cheers, Holger -----Urspr=FCngliche Nachricht----- Von: Derrick Oswald [mailto:Der...@ro...]=20 Gesendet: Dienstag, 26. August 2003 04:56 An: htm...@li... Betreff: [Htmlparser-developer] tabs I'm thinking of making a gratuitous change to nearly all the htmlparser=20 source files -- replace tabs with spaces. I've been using a tabstop of 4 and my guess is some others have been=20 using 8. This is too much in my opinion, but the point is there seems to = be too much ambiguity in the repository at the moment about whether to=20 use tabs or not and how many spaces they represent and hence how much=20 indent is applied when entering a block of code. Maybe it's my fault.=20 I've been a 4 space person ever since moving away from the old DOS text=20 screens, where it was two spaces, and only because screen real-estate=20 was so precious. So the code I've inserted must look horrendous for=20 those with an 8 spacing. How about arbitrarily dictating that no tabs are allowed, and the indent = is 4? Just set a standard and adhere to it. I know every editor in use has a 'replace tabs with spaces' option and=20 it's just a matter of some people turning that feature on. I can=20 correct the existing files in a few minutes (correctly adding the number = of spaces to get to the next tabs stop, not just globally substituting=20 spaces for tabs). I know this is a religious issue, so I'll gladly offer to convince=20 anyone my way is correct and theirs is wrong, and trump anyone's code=20 drop with one that doesn't contain tabs until they give up. Harrumph! Derrick ------------------------------------------------------- This SF.net email is sponsored by: VM Ware With VMware you can run multiple operating systems on a single machine. = WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the = same time. Free trial click here:http://www.vmware.com/wl/offer/358/0 _______________________________________________ Htmlparser-developer mailing list = Htm...@li... https://lists.sourceforge.net/lists/listinfo/htmlparser-developer |