Jump to content

Recommended Posts

Depends on documenting program you use I suppose.

Documenting convention should be consistend across your project, that's for sure.

 

I use doxygen, and for documenting classes I use at least these two

 

@author

@version

 

 

to be honest i don't think it really matters that much. so long as people get the information it doesn't really matter what convention you use. I normally just use something neat and simple, for example:

 

/************************************************/

 

// @Author:  ###########################

// @Script:    ###########################

// @License:  ###########################

 

/************************************************/

 

... something just to put your mark on it.

 

Add / remove them as you please. only reason i add the @ is purely from seeing so many scripts with it on, became somewhat of a habbit back in the early days after seeing so many scripts with it on... i don't know wether certain software recognises it or not but I can't imagine it really mattering that much...

 

Adam

i don't know wether certain software recognises it or not but I can't imagine it really mattering that much...

 

Take a look at phpDoc, it has a defined syntax and is very usefull for larger projects.

 

Yeah, that's what I use.

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.