- From: Jim Ley <jim@jibbering.com>
- Date: Wed, 20 Dec 2006 18:48:58 -0000
- To: "Robert Sayre" <sayrer@gmail.com>
- Cc: "Chris Wilson" <Chris.Wilson@microsoft.com>, "Ian Hickson" <ian@hixie.ch>, "Dave Massy" <dave.massy@microsoft.com>, "Anne van Kesteren" <annevk@opera.com>, "Web API WG \(public\)" <public-webapi@w3.org>
"Robert Sayre" <sayrer@gmail.com> > On 12/20/06, Jim Ley <jim@jibbering.com> wrote: >> Not that I'm overly energised with naming, but... > ... >> >> I agree with this view entirely. getSomething is a pattern worth keeping >> for developer sanity. > > JS programmers use short names for these things. Like $() instead of > getElementById. No, one group of JS programmers do that, it is not representative of the entire industry at all, not one of the numerous multi-tens of thousand line JS projects I've been involved with have done the above, and developer strategies that believe 1 character method names is clear are not going to care one jot what the original name in the DOM is. Jim.
Received on Wednesday, 20 December 2006 18:50:08 UTC