Slashdot Mirror


User: vrillusions

vrillusions's activity in the archive.

Stories
0
Comments
26
First seen
Last seen
Profile
(view on slashdot.org)

Comments · 26

  1. When in doubt, copy someone else's on What Workplace Coding Practices Do You Use? · · Score: 1

    Depending on the language you are using, find a large open source project that documents their coding standards and base it off of that. Gallery's Coding standards, http://codex.gallery2.org/index.php/Gallery2:Codin g_Standards comes to mind. It's VERY detailed and gives explanations on some things. Even if you don't go by all their rules, or none of them, that page at least gives you an idea on how to structure a document on coding standards, which is more important than the actual coding standards themselves. If you can take whatever you do now, document it, then any new hires you can just give them that document so they understand everything. And yes, comments are really importantant, especially in more complicated sections, and at the end put your name so you know who to ask if you have questions on that section, and of course update the byline if someone else touches it. It's one thing our company can improve on. Even me, If I do something really complicated I usually end my comments with "sorry" :)