Comments (4)
据我了解,有些 deprecated 只是为了防止外部使用。但是早期开放了,又没法直接去掉。
from cocos-engine.
老实说,Assembler 这一块到现在都还没有一个 官方 的使用文档(这个是有论证的,官方文档中搜索 Assembler 是没有任何结果的)
我觉得,之前任何人通过任何方式使用的 Assembler 相关内容,其实都不足以引擎组提供维护支持,因为那不是官方的
从这个角度来说,可以没有那么多历史包袱
另外
只要提供了替换的方法或者新方法,我觉得弃用是没问题的,移除也没问题,
然后在版本更新说明文档中提及一下,包括弃用说明,迁移说明
不然这些标记弃用却又不弃用的处理方式,有点过于任性
from cocos-engine.
可能我没说清楚。这种情况是早期的人员设计得不合理,接口开放了,但是后续想往回收。
另外,就算是有新的接口,直接去掉 deprecated 的接口也没想得那么理想。会有大量的开发者来抱怨的。
from cocos-engine.
针对弃用接口,改用为新接口的方式,我觉得业界有很多方式了
比如:
- 提供替换方式
- 提供迁移说明
- 标记弃用的方式将在xxx版本后(比如未来几个版本后)将会彻底移除
这些我觉得都是很容易接受的
from cocos-engine.
Related Issues (20)
- 取消勾选“预烘培动画”,部分手机无法显示模型 HOT 1
- blitTexture need test cases
- 编辑器预览和浏览器预览不显示 HOT 1
- Metal swapchain accessed in non-ui thread
- Custom pipeline preview bug list
- [3.8.2] When the high refresh rate mode is enabled, the game FPS cannot be modified, and the FPS limit will automatically change to 65.
- Button,ProgressBar,EditBox等的子节点Label,Bar, TEXTLABEL,PLACEHOLDER_LABEL在创建时其layer没有跟随父节点
- (Cocos Creator - CI/CD) Endless build build via cmd on build agent teamcity: Stops at this log and loads endlessly - [Package] [email protected] enable HOT 1
- Forcing SafeAreaEdge to be symmetrical in ScreenAdapter
- Build machine hangs trying to download a cocos-service.zip but we don't use services
- 383 Label and Mask component lead to App crash on Xcode. HOT 1
- 希望编辑器能支持拖拽任意扩展名的文本文件 和 二进制文件到 cc.TextAsset属性框上.
- 2D渲染时, 某些情况下会莫名其妙的断批
- [2.4.x, native] Memory leak in WebSocket binding
- Releasing the LMB outside the canvas keeps MouseInput._isPressed boolean true
- "HEADERS_RECEIVED"和"LOADING"这两个状态根本不会设置,实际请求过程中只有“OPENED”“DONE”这两个状态有用到。这里后续会完善吗?
- 希望能考虑下出差办公的程序员, 不要"断网不可用"
- 希望能考虑下出差办公的程序员, 不要"断网不可用". HOT 5
- IDE的自动图集预览时, 希望能显示一下生成的图集的尺寸
- 网上平台创建动态网格报错
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cocos-engine.