Compile-time Functions
来源:互联网 发布:it人才缺口 编辑:程序博客网 时间:2024/06/06 11:45
We programmers are familiar with functions, or runtime functions. They are utilities aiming at encapsulating functionalities.
In order to do something useful with functions, we need to call a function to execute it. To customize the functionality encapsulated within a function when calling it, we usually need to feed the function with one or more values, which are called arguments at the calling site, or parameters at the called site. After the execution of a function in the runtime, we usually get back a value in return, which is called the return value of the function.
There do exist functions that have no parameters and thus its functionalities cannot be customized. They are often extracted from large functions and used to divide large functionalities into smaller ones. There also exist functions that have no return value, which are called procedures in some programming languages. A function that has no return value will probably do something to the outside world, which is called a side effect. With or without return value, functions can have side effects, but a function that has both a return value and one or more side effects are often considered as a bad design.
In contrast with runtime functions, we are not so familiar with compile-time functions. There are simply no such terms in most programming languages,
- Compile-time Functions
- Windows MFC Time Functions
- Functions about time
- Some functions about time
- NdComPlatform_SNS COMPILE TIME
- Compile time& link time&run time
- mysql 5.6 Date/Time Functions
- 636. Exclusive Time of Functions
- 636. Exclusive Time of Functions
- LeetCode636. Exclusive Time of Functions
- late-binding, Compile time, run-time, polymorphism
- Java compile-time vs. run-time
- operator sizeof ---compile time calculation
- Minimizing Compile-time Dependencies 1
- Memory Ordering at Compile Time
- 【转载】Runtime vs Compile time
- Runtime vs Compile-Time Classpath
- Memory Ordering at Compile Time
- 种类并查集
- 求解a^b % m
- 为什么 Chrome 开启 QUIC 之后能够快速顺畅访问 Google 和 Gmail?
- 关于Android SD卡
- 线程学习总结
- Compile-time Functions
- 自己设计了一个wipebox 幻灯片
- Linux 杂记
- ThinkPHP里的MVC
- 算法与心法:需要二维数组吗?
- 数组和链表简单对比
- 第八周项目32-对程序运行结果的理解
- [算法题] 最接近零的子数组和 Subarray Sum Closest
- WPF listbox控件用法介绍