I'm aware of two methods to write code hints in CFScript. I would like to know if there are any functional, non-aesthetic differences between the two, and what's considered best practice.
The first technique I've seen uses comments above the function's declaration to add hints:
/**
* @hint This function does soemthing
*/
public function foo() {}
While the second technique incorporates the hints into the declaration itself:
public function foo() hint="This function does something" {}
Are there reasons to use one and not the other? Does your approach change if you have arguments to declare that you may want to hint?