emberjs/ember.js — Issue #498: Suggestion: Ember.computed() to accept dependency list up front
Author: dlee
Created: 2012-02-14 09:09:14+00:00
State: open

I suggest that `Ember.computed()` support the property dependency list up front like this:

```
Ember.computed("firstName", "lastName", function () {
return this.get("firstName") + " " + this.get("lastName");
}
```

This has the benefits of showing the dependency up front and getting rid of the necessity of calling `.property(...)` on the return value of `Ember.computed()`.