Re: [csswg-drafts] [css-nav-1] Improve the name of window.navigate (#3387)

I disagree that the extensibility is lost. We can always add more methods, and if something requires an argument (like angle), that can also still be done with a new method.

I think there are two advantages of using multiple methods over a single method:

* developer ergonomics (`up()` is less typing than `function_name("up")`
* easier to feature-check specific APIs (as @hugoholgersson said above)

-- 
GitHub Notification of comment by zcorpan
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/3387#issuecomment-496922857 using your GitHub account

Received on Wednesday, 29 May 2019 12:51:19 UTC