Ticket #3054 (new defect)
f considered harmful
| Reported by: | skinner | Owned by: | alex |
|---|---|---|---|
| Priority: | low | Milestone: | 1.4 |
| Component: | TestFramework | Version: | 0.9 |
| Severity: | minor | Keywords: | |
| Cc: |
Description
f is an especially poor choice for a public function name, if our goal is to make the code easy to read and understand.
quoting from the dojo style guide:
11. All names SHOULD be written in English. 14. Public names SHOULD ... avoid unclear shortenings and contractions Any violation to this guide is allowed if it enhances readability.
If you've got no idea what method this bug report is talking about, that's my point. If you're trying to figure out what f is and what it does, try searching for "f" in the Dojo API Reference, or grepping for "f" in the source code.
Attachments
Change History
Note: See
TracTickets for help on using
tickets.