Re: [whatwg] Proposal: Allow disabling of default scroll restoration behavior

2015-04-21 Thread Ian Hickson
On Sun, 12 Apr 2015, Anne van Kesteren wrote:
> On Thu, Apr 9, 2015 at 9:05 PM, Ian Hickson  wrote:
> > I'd strongly recommend against adding new methods. It'll mean we now 
> > have two different ways to do the same thing, which means more bugs, 
> > which means less interoperability, more confusing behaviour for 
> > authors, more to document, etc.
> 
> If the existing method didn't have the flaw with the title argument I 
> wouldn't have suggested it. Also, since they both built upon the same 
> primitive I think we'd be okay in the bugs and interop department.

You are more optimistic than I. In any case, I strongly recommend against 
such redundancy.


On Wed, 15 Apr 2015, Majid Valipour wrote:
> 
> Actually URL is optional in current spec and it defaults to current URL. 
> Why is this suboptimal?

Because it means you can't bookmark the state or share the state, 
reloading the page loses the state, etc.


> In anycase If making URL required is a goal then it is best done by 
> introducing a new method to avoid breaking compatibility.

Why is that better?


> I personally find a dictionary with only optional members which have 
> appropriate defaults to be very convenient.

I don't disagree... for new APIs. But when we already have an existing 
API, maintaining consistency and lack of redundancy IMHO trumps pretty 
much everything else, if you want the end result to be usable.

A lot of the pain with using the Web's APIs is the inconsistency and 
redundancy that is rampant throughout.

-- 
Ian Hickson   U+1047E)\._.,--,'``.fL
http://ln.hixie.ch/   U+263A/,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'


Re: [whatwg] MetaExtension and Dublin Core revision

2015-04-21 Thread Ian Hickson
On Sat, 11 Apr 2015, Andrea Rendine wrote:
>
> I hope you judge WebDevData a reliable source.

Seems reasonable to me.


> Can the table be fixed accordingly?

As I said in my last e-mail, my recommendation is to make whatever edits 
you think are necessary within the following constraints:

 - any values that are used in the wild should be included
 - values that are used in the wild in a consistent manner should be
   specified in the relevant specification (this might require changes to 
   that specification)
 - values that are widly used inconsistently should be obsoleted by the 
   relevant specification and marked accordingly on the relevant wiki
 - the concept of namespaces for these values should be excised from 
   any specification that attempts to introduce it
 - the description in the wiki should be brief, should deep-link to the 
   relevant specification, and should include brief parentheticals for any 
   usage notes, linked to the relevant specification for more discussion

-- 
Ian Hickson   U+1047E)\._.,--,'``.fL
http://ln.hixie.ch/   U+263A/,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'