Clear questions and runnable code get the best and fastest answer |
|
PerlMonks |
comment on |
( [id://3333]=superdoc: print w/replies, xml ) | Need Help?? |
We have had the problem of nasty looking indenting rear its ugly head on projects before. I like to use tabs for the main indenting and spaces for indenting structures like hashes etc. It seems to avoid nasty looking code.
I don't think that forcing people to align/not align curly is a good idea braces since it really is just a personal preference. The important thing is to be consistant within a given piece of code/module. Anyone who can't figure out what's going on shouldn't be maintaining the code anyway. You have some good ideas here but I wouldn't go overboard enforcing standards that have no real impact on functionality or productivity. mr greywolf In reply to Re: (OT) Editor-neutral code formatting
by greywolf
|
|