Re: Coding Standards
- From: Joshua Cranmer <Pidgeot18@xxxxxxxxxxx>
- Date: Fri, 31 Aug 2007 13:45:04 GMT
Sanjay wrote:
davidsamith@xxxxxxxxx wrote:'Good code' is code that works, is bug free, and is readable and
maintainable. Standards need to be followed for coding. Read more...
http://brsx.co.uk/SWtesting/FAQs/FAQs012.asp
• each line of code should contain 70 characters max.
Where the *** does that come from? 1970's? We just inherited shitty code from an outsourcing company where each line fucking wraps around after some 50-100 characters for no reason. I have a fucking 21 inch monitor and so does other developers and there is no one else going to look at the code besides developers why wrap around 70 characters?
Right now, I am stuck with a 1024x768 resolution, so anything more than ~90 characters starts wrapping around. Obviously, you have never tried to edit a line of code in vim that has wrapped around 3-4 times.
I do, however, agree that 70 characters is too short for a reasonable line; 80-90 characters is a better limit.
--
Beware of bugs in the above code; I have only proved it correct, not tried it. -- Donald E. Knuth
.
- Follow-Ups:
- Re: Coding Standards
- From: Sanjay
- Re: Coding Standards
- References:
- Coding Standards
- From: davidsamith@xxxxxxxxx
- Re: Coding Standards
- From: Sanjay
- Coding Standards
- Prev by Date: Re: EJB Client Stub jar - Concept Evaluation
- Next by Date: Re: Coding Standards
- Previous by thread: Re: Coding Standards
- Next by thread: Re: Coding Standards
- Index(es):