I have
/**
* This happens when the user is logged in.
*/
but is it meant to be like that?
Like is the spacing correct? Because I’ve seen
/**
* This happens when the user is logged in.
*/
and others.
Which is classed as correct?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
What’s the difference between the two?
There’s “no one right way” to comment something. Unless you’re working under a corporate/team/group standard, pick what makes most sense to you and stick with it. quoting is like indentation – religious wars ensue regularly.