Hi,

was wondering what the best practise for comments inside the code is.
I know that on classes/methods you use a Javadoc block, but what about
inline?

For example:

/**
* ...
*/
function foo()
{
  // Some comment here
  $bar = 'whatever';
}

Is it totally acceptable to do this ("// Some comment here"), or is
there anything else to do instead. Or should I do a full Javadoc block
as well?

Thanks,
Till

Reply via email to