Comments (3)
您好,感谢您对 TuSDK 的关注和建议。
扩展类方法命名我们在最近几个版本中已经改了不少,类似 UIView
的 initView
我们会考虑继续加前缀,而类似 year
这类返回结果不太可能有差别的方法,似乎没有加前缀的必要。
from tusdk-for-ios-demo.
谢谢您的回复。
其实,我觉得对于类似 year 这类方法也是有加前缀的必要的,个人看法如下:
- 为了解决两边的冲突,就必须删除我们的方法,或者将我们的方法添加前缀,对于删除的情况,若将来不再需要使用此库,还需将其添加回来,较为麻烦。
- 对于其他三方库,如果对于此类进行拓展,且都使用同样的方法名不加前缀,是否不妥呢
from tusdk-for-ios-demo.
了解您的顾虑了,我们会在下一版本中修复这些问题。
在此之前,请您先加上自己的前缀作为暂时方案。
from tusdk-for-ios-demo.
Related Issues (6)
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 tusdk-for-ios-demo.