Tagged articles
10 articles
Page 1 of 1
Deepin Linux
Deepin Linux
Mar 22, 2026 · Fundamentals

Mastering const and static in C++: When and How to Use Them

This article provides a comprehensive guide to the const and static modifiers in C/C++, covering their distinct purposes, usage with variables, pointers, functions, and class members, and answering common interview questions with clear explanations and practical code examples.

C++constinterview
0 likes · 17 min read
Mastering const and static in C++: When and How to Use Them
JavaScript
JavaScript
Jul 5, 2025 · Fundamentals

Why Do Top JavaScript Libraries Use void 0 Instead of undefined?

This article explains the historical reason why JavaScript's undefined is not a keyword, how the void operator reliably returns undefined, and why high‑quality libraries prefer the concise void 0 syntax for safety and minification.

JavaScriptcode safetylanguage fundamentals
0 likes · 5 min read
Why Do Top JavaScript Libraries Use void 0 Instead of undefined?
Top Architect
Top Architect
May 11, 2022 · Fundamentals

Why Java’s for(;;) Loop Exists and Its Bytecode Equivalence to while(true)

The article explains the origin of Java’s for(;;) infinite loop syntax, compares it with while(true) through source‑code searches and bytecode analysis, and concludes that both constructs compile to identical bytecode, making performance differences negligible while also providing related promotional links.

JDKfor loopjava
0 likes · 5 min read
Why Java’s for(;;) Loop Exists and Its Bytecode Equivalence to while(true)
Programmer DD
Programmer DD
Aug 11, 2021 · Fundamentals

Why Does Java’s for(;;) Loop Exist and Is It Faster Than while(true)?

An exploration of Java’s infinite loop constructs reveals that for(;;) originates from C, offers a concise syntax without magic numbers, and, according to bytecode analysis of JDK8u, performs identically to while(true), with performance determined solely by the JVM implementation.

Loopsbytecodefor
0 likes · 4 min read
Why Does Java’s for(;;) Loop Exist and Is It Faster Than while(true)?

Focus on Learning Languages Over Frameworks and Writing Minimal, Modular Code

Learning the core programming language rather than relying on heavy frameworks, building small independent modules, and keeping code minimal and readable improves flexibility, performance, maintainability, and reduces bugs, ultimately leading to higher productivity and better collaboration among developers.

code qualitylanguage fundamentalsmodular code
0 likes · 9 min read
Focus on Learning Languages Over Frameworks and Writing Minimal, Modular Code