Giter Site home page Giter Site logo

Comments (4)

minggo avatar minggo commented on July 19, 2024

据我了解,有些 deprecated 只是为了防止外部使用。但是早期开放了,又没法直接去掉。

from cocos-engine.

zhitaocai avatar zhitaocai commented on July 19, 2024

老实说,Assembler 这一块到现在都还没有一个 官方 的使用文档(这个是有论证的,官方文档中搜索 Assembler 是没有任何结果的)

我觉得,之前任何人通过任何方式使用的 Assembler 相关内容,其实都不足以引擎组提供维护支持,因为那不是官方的

从这个角度来说,可以没有那么多历史包袱

另外

只要提供了替换的方法或者新方法,我觉得弃用是没问题的,移除也没问题,

然后在版本更新说明文档中提及一下,包括弃用说明,迁移说明

不然这些标记弃用却又不弃用的处理方式,有点过于任性

from cocos-engine.

minggo avatar minggo commented on July 19, 2024

可能我没说清楚。这种情况是早期的人员设计得不合理,接口开放了,但是后续想往回收。

另外,就算是有新的接口,直接去掉 deprecated 的接口也没想得那么理想。会有大量的开发者来抱怨的。

from cocos-engine.

zhitaocai avatar zhitaocai commented on July 19, 2024

针对弃用接口,改用为新接口的方式,我觉得业界有很多方式了

比如:

  1. 提供替换方式
  2. 提供迁移说明
  3. 标记弃用的方式将在xxx版本后(比如未来几个版本后)将会彻底移除

这些我觉得都是很容易接受的

from cocos-engine.

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.