当前位置:网站首页>【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-云函数示例
![[Data Mining] Written Exam Questions for Sohu Data Mining Engineers](/img/d9/450eeecd5c7835d40ac38da41fc08e.png)
[Data Mining] Written Exam Questions for Sohu Data Mining Engineers

After encountering MapStruct, the conversion between PO, DTO and VO objects is no longer handwritten

SAP ABAP OData 服务如何支持 $select 有选择性地仅读取部分模型字段值试读版

零知识证明笔记——私密交易,pederson,区间证明,所有权证明

linkboy 5.0 正式发布,新增语音识别、图像识别

C语言——青蛙跳台阶(递归)

如何进行AI业务诊断,快速识别降本提效增长点?

经验分享|盘点企业进行知识管理时的困惑类型
随机推荐
js的new Function()常用方法
机器学习_02
adb控制常用命令
链路聚合技术及VRRP
搭建MyCat2一主一从的MySQL读写分离
如何最简单、通俗地理解爬虫的Scrapy框架?
win10终端中如何切换磁盘
linkboy 5.0 正式发布,新增语音识别、图像识别
Five Minutes Introductory Text Processing Three Musketeers grep awk sed
【随记】新一天搬砖 --20220727
括号匹配
vehemently condemn
用 Excel 爬取网络数据的四个小案例
MySQL字段类型
两种白名单限流方案(redis lua限流,guava方案)
mysql的存储过程介绍、创建、案例、删除、查看「建议收藏」
C语言——青蛙跳台阶(递归)
Apache服务器配置多个站点
多商户商城系统功能拆解22讲-平台端分销商品
零知识证明——zkSNARK证明体系