Giter Club home page Giter Club logo

Comments (5)

rgrove avatar rgrove commented on August 20, 2024

I vote for option 4. update adds unnecessary magic.

from yui3.

hatched avatar hatched commented on August 20, 2024

While removing functionality that people might be using could cause some headaches for some I agree with @rgrove

from yui3.

ericf avatar ericf commented on August 20, 2024

@hatched If I go with option 4 I would first deprecate the feature, log a warn if it is used, and remove it from the documentation. Then during some future refactor and in a future release I would remove the code which implements it.

from yui3.

tivac avatar tivac commented on August 20, 2024

I use update extensively, but always to set attributes so I've never run into this behavior. It's a very useful convenience, one that I'm pretty sure I lobbied for when I first started using Y.App. I'd hate to see it go.

Issues like these are exactly what made me nervous about ad-hoc attributes in the first place. Passing an object in & having some things be attributes & some not (but only at construction time) depending on the contents of a protected static array isn't terribly intuitive.

I vote option 1

from yui3.

jimwhimpey avatar jimwhimpey commented on August 20, 2024

I vote for option 4. update adds unnecessary magic.

Agreed.

from yui3.

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.