You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
代码为啥要这样写,我要这样写代码
A 代码模式
用一个简单任务,展示各种需求(完成任务简单、可读性强、可复用高、维护成本低等)下的代码写法
B 面向对象设计模式
用一个业务场景复现面向对象的经典设计模式
C 高性能模式
考虑执行时间快,内存占用少的一些办法
'''
可能的动机
【 效率 】
时间快
内存占用少
【 软件工程 】
可读性强
可复用高
类型安全
单元测试方便
【可靠性】
并发、线程安全
'''