Tagged articles
3 articles
Page 1 of 1
Liangxu Linux
Liangxu Linux
Nov 11, 2025 · Fundamentals

How to Classify C Functions for Cleaner Code and Better Optimization

This article explains three practical categories for C functions—pure functions with no side effects, functions that read external state without modifying it, and functions that both read and depend on external variables—showing how the classification aids memoization, re‑entrancy reasoning, and inline‑function usage.

C programmingPure Functionsfunction classification
0 likes · 5 min read
How to Classify C Functions for Cleaner Code and Better Optimization
php Courses
php Courses
Jul 24, 2025 · Fundamentals

Master C++ Default Arguments and Inline Functions: When and How to Use Them

This article explains C++ default arguments and inline functions, covering their definitions, syntax, rules, practical code examples, advantages, appropriate use cases, and key considerations, and compares the two features to help developers write clearer and more efficient code.

Cdefault-argumentsinline functions
0 likes · 5 min read
Master C++ Default Arguments and Inline Functions: When and How to Use Them
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Jan 24, 2024 · Mobile Development

Unlock Peak Kotlin Performance with Advanced Refactoring Techniques

This article guides developers through a series of Kotlin refactoring steps—replacing when statements with HashMap, introducing payload mechanisms, infix functions, inline registration, and delegated properties—to dramatically improve event‑handling performance, readability, and maintainability while adhering to the single‑responsibility principle.

HashMapInfix FunctionsKotlin
0 likes · 16 min read
Unlock Peak Kotlin Performance with Advanced Refactoring Techniques