Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Promote code that's indented 3 spaces instead of 2: rejected by QA.

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.



>> 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.


> 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 >.


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.




Consider applying for YC's Summer 2026 batch! Applications are open till May 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: