Antipatterns in C++

Опубликовано: 08 Февраль 2026
на канале: PVS-Studio
3,177
84

If you want to make effective, reliable and well-structured C++ software, then you need to be aware of coding antipatterns. If you know these antipatterns, you may save yourself from making many mistakes.

00:00 Introduction
00:36 Const is a redundant entity
01:42 Need to add a constant instance of the class everywhere?
02:38 The shorter the variable name is, the better

Have fun watching this video and coding :)

----------------------------------------------------------------------------------------------
🎁 Get the PVS-Studio month free trial
https://pvs-studio.com/youtube

📬Our support:
https://pvs-studio.com/en/about-feedb...

----------------------------------------------------------------------------------------------
Useful links:
60 terrible tips for a C++ developer
https://pvs-studio.com/en/blog/posts/...
----------------------------------------------------------------------------------------------
Website: https://pvs-studio.com
Facebook:   / staticcodeanalyzer  
Twitter:   / code_analysis  
Instagram:   / pvsstudio  

Additional sound effects from https://www.zapsplat.com

#PVSStudio #cpp #programming