W3C home > Mailing lists > Public > public-audio@w3.org > July to September 2013

Re: [web-audio-api] Node creation method naming inconsistencies (#166)

From: Olivier Thereaux <notifications@github.com>
Date: Wed, 11 Sep 2013 07:30:04 -0700
To: WebAudio/web-audio-api <web-audio-api@noreply.github.com>
Message-ID: <WebAudio/web-audio-api/issues/166/24244620@github.com>
> [Original comment](https://www.w3.org/Bugs/Public/show_bug.cgi?id=18332#2) by Chris Rogers on W3C Bugzilla. Tue, 16 Oct 2012 20:11:05 GMT

(In reply to [comment #2](#issuecomment-24244615))
> (In reply to [comment #1](#issuecomment-24244609))
> > How about being consistent by removing the "Node" suffix, leaving all the
> > "create" methods the same, except for:
> > 
> > createGainNode -> createGain
> > createDelayNode -> createDelay
> > 
> > createJavaScriptNode -> createScriptProcessor
> > 
> > I'm less sure about the naming of "createScriptProcessor".  Some have suggested
> > that we might use other scripting languages than JavaScript, so that shouldn't
> > be a part of the name.
> 
> I think we need to resolve Bug 17407 before moving forward with this one.

Now that 17407 is resolved, how do the two method name-changes sound?

---
Reply to this email directly or view it on GitHub:
https://github.com/WebAudio/web-audio-api/issues/166#issuecomment-24244620
Received on Wednesday, 11 September 2013 14:37:34 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 19:03:24 UTC