Note that there are some explanatory texts on larger screens.

plurals
  1. POHow to share code documentation for a project?
    primarykey
    data
    text
    <p>There was a similar-ish question here on SO <a href="https://stackoverflow.com/questions/9475795/how-do-you-share-code-across-teams-working-on-very-different-projects">https://stackoverflow.com/questions/9475795/how-do-you-share-code-across-teams-working-on-very-different-projects</a> but mine is about writing documentation.</p> <p><strong>Scenario:</strong></p> <p>Let's say my team is working on a software project, a Fany-WordPad like application which has a feature called <strong>Fancy-Word-Art</strong> ( just like MS Office's word Art). Now I wrote the code for the main window( using WPF in .Net, or using Window Builder in Java, doesn't matter which tool/language). </p> <p>Now if my colleague Mr Spongebob is writing the Word-Art part, how would I <strong>tell him</strong> what functions to call / Api to use to draw on my window? i.e. How do I let Mr SpongeBob know that he needs to call GetWindow() method to get a reference to the drawing surface, the parameters he needs to pass along , and so on?</p> <p>I hope I am being clear here. Is this the procedure?</p> <p><strong>Step 1 :</strong> Use your company wiki site to understand your colleague's written code</p> <p><strong>Step 2 :</strong> Write the <code>GetWindow()</code> method so that it works well with the rest of the project</p> <p><strong>Step 2 :</strong> Now put a wiki on your intranet with the method parameters/ data type requirement for your <code>GetWindow()</code> method or use Doxygen/ Confluence as suggested below</p> <p><strong>Step 3 :</strong> Now its your colleague Mr Spongebob's headache how to find how to draw his word-art on my window.</p> <p>This just doesnt sound right .. With tons of functions, Spongebob's life will be hard, just as mine. Both of us rummaging through documentation to find the right functions to do our job. What if then I change <code>GetWindow() to GetWindow(string title)</code>.. Now how do I <code>literally tell</code> the poor spongebob he needs to redo his code.</p> <p>Am I missing something here? Please share your experience, how do you tackle this problem in a real world software house environment? If your fellow developer is on the next table , do you actually <strong>show</strong> them how to implement a certain method as they get stuck, or how do you deal with this situation? thank you</p> <p>Thanks</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload