当前位置:网站首页>【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
边栏推荐
猜你喜欢

Qt Designer生成的图形可以自适应窗口的大小变化

How to make good use of builder mode

【debug】postgres数据存储错乱

Five Minutes Introductory Text Processing Three Musketeers grep awk sed

手撕SparkSQL五大JOIN的底层机制

【数据挖掘】搜狐公司数据挖掘工程师笔试题

MATLAB中readtimetable函数用法

Oreo domain name authorization verification system v1.0.6 public open source version website source code

Comic | Two weeks after the boss laid me off, he hired me back and doubled my salary!

KubeSphere简介,功能介绍,优势,架构说明及应用场景
随机推荐
用 Excel 爬取网络数据的四个小案例
vim clear last search highlighting
vehemently condemn
Chrome安装zotero connector 插件
搭建MyCat2双主双从的MySQL读写分离
1、File对象学习
伺服电机矢量控制原理与仿真(1)控制系统的建立
动态规划_双数组字符串
如何进行AI业务诊断,快速识别降本提效增长点?
QT(41)-多线程-QTThread-同步QSemaphore-互斥QMutex
【1403. 非递增顺序的最小子序列】
Desthiobiotin衍生物Desthiobiotin-PEG4-Amine/Alkyne/Azide/DBCO
xss课堂内容复现
腾讯云胡启明:Kubernetes云上资源的分析与优化
【编程思想】
使用堡塔应用管理器配置laravel队列方法
【2022牛客多校5 A题 Don‘t Starve】DP
C语言——青蛙跳台阶(递归)
新式茶饮,卷完水果还能卷什么?
遇到MapStruct后,再也不手写PO,DTO,VO对象之间的转换了