Skip to content
Advertisement

Tag: coding-style

Comment method callers name above the callee method

Is there any specific standards or styles in any languages to specify which methods are calling the current method using comments in the project? for example lets say callee method is being called from UserController@indexMethod and UserController@storeMethod, so we comment it here so if i change the callee’s parameters i can find and change the callers easily. Answer Don’t do

PHP commenting standards

I need to comment massive amounts of information in only a handful of files, and when I look around Google and here at Stack Overflow, I continue to find results matching coding standards, when I need commenting standards. My coding matches most coding standards, except when it comes to commenting. What would be examples for the following? Knowing proper style is

Advertisement