Git Product home page Git Product logo

Comments (4)

DrMarcII avatar DrMarcII commented on July 27, 2024

But that name is so redundant...

from webdriver.dart.

devoncarew avatar devoncarew commented on July 27, 2024

It tells me that there are two different flavors of webdriver, and which libraries in the package are the best entry-points (webdriver_io.dart and webdriver_html.dart).

from webdriver.dart.

DrMarcII avatar DrMarcII commented on July 27, 2024

There are only 3 possible entry points for the package (everything else is nested in src/ so is out as an entry-point), all of which have appropriate applications:

core.dart is intended for frameworks that are agnostic to the whether they run in a browser or in the VM.
io.dart is for use in the vm.
html.dart is for use in a browser.

I could see renaming them (io.dart to vm.dart, html.dart to browser.dart), but I don't think prepending webdriver_ makes anything clearer. The fact that they are at the top-level already should make it clear that these are the intended entry-points, and the fact that none of them are called webdriver.dart should indicate to the user that they have to make a decision (which is why I chose core.dart instead of webdriver.dart).

from webdriver.dart.

devoncarew avatar devoncarew commented on July 27, 2024

I think it would improve the UX very slightly (even with the redundancy), but it's definitely not a critical point. I'll close this out -

from webdriver.dart.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.