当前位置:网站首页>【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
边栏推荐
- KubeSphere简介,功能介绍,优势,架构说明及应用场景
- Five Minutes Introductory Text Processing Three Musketeers grep awk sed
- Zero-knowledge proof notes - private transaction, pederson, interval proof, proof of ownership
- 香港暂停进口俄罗斯部分地区禽肉及禽类产品
- 搭建MyCat2一主一从的MySQL读写分离
- 多用户同时远程登录连接到一台服务器
- 【C语言】指针和数组的深入理解(第三期)
- MySQL field type
- 使用堡塔应用管理器配置laravel队列方法
- vs Code runs a local web server
猜你喜欢

阿里的arthas使用,入门报错:Unable to attach to 32-bit process running under WOW64

Matlab画图2

Tear down the underlying mechanism of the five JOINs of SparkSQL
![[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!...](/img/d8/a367c26b51d9dbaf53bf4fe2a13917.png)
[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!...

伺服电机矢量控制原理与仿真(1)控制系统的建立

CAS :80750-24-9(脱硫生物素 NHS 酯)

for 循环中的 ++i 与 i++

新式茶饮,卷完水果还能卷什么?

手撕SparkSQL五大JOIN的底层机制

多商户商城系统功能拆解22讲-平台端分销商品
随机推荐
[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!...
mdk5.14无法烧录
Qt Designer生成的图形可以自适应窗口的大小变化
QT(42)-QT线程-线程调用槽函数
嵌入式分享合集28
Oreo domain name authorization verification system v1.0.6 public open source version website source code
C语言基础[通俗易懂]
密码学系列之:PEM和PKCS7,PKCS8,PKCS12
C语言之实现扫雷小游戏
dotnet 使用 lz4net 压缩 Stream 或文件
1、File对象学习
顺序队列
【2022杭电多校5 1012题 Buy Figurines】STL的运用
run command for node
Zero-knowledge proof - zkSNARK proof system
idea2021版本添加上一步和下一步操作到工具栏
win10 uwp 使用 ScaleTransform 放大某个元素
matlab 画图
uwp ScrollViewer content out of panel when set the long width
【一起学Rust | 进阶篇 | Service Manager库】Rust专用跨平台服务管理库