当前位置:网站首页>【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
边栏推荐
- After the tester with 10 years of service "naked resignation" from the big factory...
- 如何找到某个 ABAP structure 某字段的源头来自哪个数据库表
- Getting Started with Lattice Passwords
- 经验分享|盘点企业进行知识管理时的困惑类型
- How to make good use of builder mode
- MySQL stored procedure introduction, creation, case, delete, view "recommended collection"
- ts集成和使用
- SAP ABAP OData 服务如何支持 $select 有选择性地仅读取部分模型字段值试读版
- 腾讯云胡启明:Kubernetes云上资源的分析与优化
- xss课堂内容复现
猜你喜欢
随机推荐
mdk5.14无法烧录
Zero-knowledge proof notes - private transaction, pederson, interval proof, proof of ownership
工龄10年的测试员从大厂“裸辞”后...
Web3安全风险令人生畏,应该如何应对?
【AGC】构建服务1-云函数示例
C#移动OA办公系统源码(基于微信企业号)
腾讯云胡启明:Kubernetes云上资源的分析与优化
【CAS:2306109-91-9 |胺-PEG4-脱硫生物素】价格
Tear down the underlying mechanism of the five JOINs of SparkSQL
大资本已开始逃离加密领域?
格密码入门
手撕SparkSQL五大JOIN的底层机制
在vs code中进行本地调试和开启本地服务器
关于 SAP 电商云 Spartacus UI SSR 的 state transfer 问题
Matlab画图2
Nuxt.js的优缺点和注意事项
Uniapp微信雪糕刺客单页小程序源码
如何进行AI业务诊断,快速识别降本提效增长点?
实现菜单拖拽排序
顺序队列









