Re:Ask HN: Ridiculous Coding Practices by companies you have...
by cuerty on Thursday June 04, 2009 @09:08PM
(#642524)
>> Promote code that's indented 3 spaces instead of 2: rejected by QA.
I understand that QA rejected it if the coding style stated that 2 spaces should be used for identation.
Re:Ask HN: Ridiculous Coding Practices by companies you have...
by BobbyH on Thursday June 04, 2009 @10:09PM
(#642576)
> I understand that QA rejected it if the coding style stated that 2 spaces should be used for identation.
I reject your comment because you used two >> to denote a "quote" instead of a single >.
Re:Ask HN: Ridiculous Coding Practices by companies you have...
by kaitnieks on Friday June 05, 2009 @02:22AM
(#642782)
The difference is that Hacker News does not have Commenting Standards that state number of > to use for quoting, unlike his company which probably had Coding Standards stating number of whitespaces to use.
Working with code written by 3 people if one of them used 4 whitsepaces, other used 2 and 3rd used tabs is just terrible.
Promote code that deletes the entire production Customer Database if the user hits "Esc" on Form 11 by accident: no problem. Unless it's indented 3 spaces instead of 2. Then it's rejected.