Re: Hanging stuff of navigator

I have a slight preference for the static methods thing as it tends to be
shorter.

As an exercise, what would it look like to refactor GeoLocation this way?


On Thu, May 16, 2013 at 2:09 PM, Anne van Kesteren <annevk@annevk.nl> wrote:

> On Thu, May 16, 2013 at 2:00 PM, Marcos Caceres <marcos@marcosc.com>
> wrote:
> > Thoughts? Is continuing to hang stuff of navigator a good thing for
> developers and the platform? Should we start encouraging working groups to
> make better use of interface objects through static functions?
>
> In a two years or so it's going to be something like "import { fetch }
> from "web/fetch". What we do until then does not matter too much I
> suppose, although I think favoring constructors and static methods and
> attributes makes sense.
>
>
> --
> http://annevankesteren.nl/
>
>

Received on Thursday, 16 May 2013 13:52:46 UTC