- From: Tab Atkins Jr. <jackalmage@gmail.com>
- Date: Fri, 22 Mar 2013 09:18:03 -0700
- To: Benoit Jacob <jacob.benoit.1@gmail.com>
- Cc: "public-fx@w3.org" <public-fx@w3.org>
On Fri, Mar 22, 2013 at 4:48 AM, Benoit Jacob <jacob.benoit.1@gmail.com> wrote: > The following points don't seem to have been discussed yet: > > 2013/3/19 Benoit Jacob <jacob.benoit.1@gmail.com> >> 4. Some method names are verbs, yet they do not perform an action on their >> object. Example: translate(). I would call that translated(), I suppose. I'd like more input from JS design people on this point. I like having a convention for knowing when an operation is pure or mutating, and I know that Python used the "past tense verb" convention for that in some places, but I don't think JS has such a convention so far. However, if we plan to add mutating methods in the future, it's very reasonable to think about this now. ~TJ
Received on Friday, 22 March 2013 16:18:54 UTC