当前位置:网站首页>【Programming Ideas】
【Programming Ideas】
2022-08-04 20:55:00 【xixiaohuanqaq】
About object orientation and portability
Object Oriented
My own understanding is to abstract the various parameters of an object, for example, to build a building, need workers and materials, etc., and abstract all these to him.At present, it is only a very shallow idea. When I come into contact with C++, I will summarize what is object-oriented thinking.
Program Portability
I encountered a problem, the dac output is a 16-bit data, but when others test, they can't use what I wrote immediately. It should be considered that others can directly use the output even if they don't understand how the dac outputs.Control the specific value of the output voltage and current of the dac. The parameter of the interface should be a 16-bit data, or directly the voltage value and current value. No one cares about how the dac actually outputs. This is the portability of the function.If there is a problem with the code, it is easy to locate it.Follow-up writing programs should pay attention to these problems, as well as the naming conventions of variables
边栏推荐
- 【AGC】构建服务1-云函数示例
- Getting Started with Lattice Passwords
- composition-api
- [Data Mining] Written Exam Questions for Sohu Data Mining Engineers
- Comic | Two weeks after the boss laid me off, he hired me back and doubled my salary!
- 伺服电机矢量控制原理与仿真(1)控制系统的建立
- SAP ABAP OData 服务如何支持 $select 有选择性地仅读取部分模型字段值试读版
- 明明加了唯一索引,为什么还是产生了重复数据?
- [Academic related] Tsinghua professor persuaded to quit his Ph.D.:I have seen too many doctoral students have mental breakdowns, mental imbalances, physical collapses, and nothing!...
- ADB 安装 + 打驱动全教程
猜你喜欢
简单理解 JS 事件循环
长时间序列遥感数据处理及在全球变化、物候提取、植被变绿与固碳分析、生物量估算与趋势分析等领域中的应用
数字IC设计中基本运算的粗略的延时估计
【TypeScript】深入学习TypeScript枚举
[TypeScript] In-depth study of TypeScript enumeration
QT(42)-QT线程-线程调用槽函数
二叉搜索树解决硬木问题
SAP ABAP OData 服务如何支持 $select 有选择性地仅读取部分模型字段值试读版
面试官:Redis中过期的key是怎么被删除的?
【2022杭电多校5 1012题 Buy Figurines】STL的运用
随机推荐
二叉搜索树解决硬木问题
About the state transfer problem of SAP e-commerce cloud Spartacus UI SSR
WIN10系统如何开启终端
面试官:索引为什么会失效?
动态数组底层是如何实现的
MATLAB中readtimetable函数用法
微信小程序云开发 | 赠、删、改城市名称信息的应用实现
C语言基础[通俗易懂]
DICOM医学影像协议
visual studio 2015 warning MSB3246
如何进行AI业务诊断,快速识别降本提效增长点?
经验分享|盘点企业进行知识管理时的困惑类型
长时间序列遥感数据处理及在全球变化、物候提取、植被变绿与固碳分析、生物量估算与趋势分析等领域中的应用
2、字符集-编码-解码
Using Baidu EasyDL to realize forest fire early warning and identification
链路聚合技术及VRRP
Web3安全风险令人生畏,应该如何应对?
Nuxt.js的优缺点和注意事项
数字IC设计中基本运算的粗略的延时估计
ADB 安装 + 打驱动全教程