Tagged articles

increment operator

4 articles · Page 1 of 1
Deepin Linux
Deepin Linux
Jul 27, 2026 · Fundamentals

Master C++ Inc/Dec, Move, Copy, Reset, Destroy to Avoid Interview Pitfalls

This article systematically explains C++ reference‑count changes, the precise moments when ++/-- operators trigger in shared_ptr, move, copy, reset and destroy operations, and illustrates common mistakes with concrete code examples, helping developers and interviewees avoid subtle bugs and logic errors.

C++copy constructorincrement operator
0 likes · 20 min read
Master C++ Inc/Dec, Move, Copy, Reset, Destroy to Avoid Interview Pitfalls
Python Programming Learning Circle
Python Programming Learning Circle
Aug 15, 2022 · Fundamentals

Why Modern Programming Languages Have Dropped ++/-- Operators: A Design‑Philosophy Perspective

This article examines the historical origin of the ++ and -- operators, explains why they were introduced, demonstrates that modern compilers no longer gain performance from them, and argues that functional‑style design, iterator‑based loops, and operator‑overloading concerns have led many contemporary languages to remove or deprecate these operators.

C++Functional ProgrammingProgramming Language Design
0 likes · 25 min read
Why Modern Programming Languages Have Dropped ++/-- Operators: A Design‑Philosophy Perspective