I stumble upon a C++ function that will be a really illustrative example of how refactoring can both shorten and optimize code. Today, we'll need to dust off our human brains in the era of...
How can you avoid overlooking dangerous code parts during reviews? You can use static analysis tools. Let's take as an example OrcaSlicer, a popular slicing software designed to prepare 3D models...
What is expertise, and what lies at its core? Expertise varies in depth, field, and purpose. But some things never change: it can't exist without theory and experience; it can't emerge in...
To keep PVS-Studio sharp against whatever new patterns of bugs vibe coding introduces, I've been hunting for real open-source C++ projects built this way. Turns out finding them is the hard...
While the industry debates memory safety, the ISO committee and developers continue shaping the future of a much-loved language, we've gathered the most exciting recent events from the C++...
If you're working on a cross-platform project in C or C++, you usually don't rely on a single build system, but instead use a build script generator. CMake, the most popular one, has recently...
We've already covered basic field alignment and explored how inheritance layers data atop one another. By now you might think we have uncovered every trap. But not so fast! This topic has a...
Many can write code now. What makes a skilled developer is knowing how to review it. Code generation is easy. Evaluating it for proper decomposition, correctness, efficiency, and security takes...
If a pill knows what to treat, could an exception also understand when to stop its journey through the stack? In application programming, a description like this is often enough, but sometimes...