Title:
Bug 74798:Using comments to specify metadata is beginning to look like a bad idea
| View in TrackerStatus/Resolution/Reason: Closed/Deferred/
Reporter/Name(from Bugbase): Jared Rypka-Hauer / Jared Rypka-Hauer (Jared Rypka-Hauer)
Created: 01/06/2009
Components: Language, CFSCRIPT
Versions: 9.0
Failure Type: Unspecified
Found In Build/Fixed In Build: 0000 /
Priority/Frequency: Minor / Unknown
Locale/System: English / Platforms All
Vote Count: 20
Problem:
Using comments to specify metadata is beginning to look like a bad idea. Comments should be reserved for documentation. We would like to see the syntax look something like one of these:
@output false;
component {
@output false;
@returntype "WEB-INF.cftags.Component";
function init() {
return this;
}
}
[Output false]
component {
[Hint "this is a hint"]
[Returntype "component"]
function init() {
return this;
}
}
Method:
Result:
----------------------------- Additional Watson Details -----------------------------
Watson Bug ID: 3037174
External Customer Info:
External Company:
External Customer Name: Jared Rypka-Hauer
External Customer Email: 08C411A143BC38A7992016B6
External Test Config: 01/06/2009
Attachments:
Comments: