We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
加点设计模式, 如:单例、工厂 能做成静态方法就做静态。
The text was updated successfully, but these errors were encountered:
如果是自己写小程序,可以用一些比较高逼格的模式,出出彩!但是写框架,还是要考虑线程安全问题!单例模式并不是好的选择,类似spring单例陷阱! 多用户访问时容易发生干扰!
Sorry, something went wrong.
No branches or pull requests
加点设计模式, 如:单例、工厂
能做成静态方法就做静态。
The text was updated successfully, but these errors were encountered: