Quantcast
Channel: Simplify C++!
Browsing all 163 articles
Browse latest View live

Refactoring Support in Cevelop

In the last days, I’ve played around with Cevelop a bit, mainly interested in the refactoring capabilities it offers. Of course, one of the main points of a modern IDE […] The post Refactoring Support...

View Article


Mutable

The mutable keyword seems to be one of the less known corners of C++. Yet it can be very useful, or even unavoidable if you want to write const-correct code […] The post Mutable appeared first on .

View Article


Meeting C++ 2017 Trip Report

A few days ago, I attended the Meeting C++ conference in Berlin, the third year in a row. As usual, I had a lot of fun and interesting conversations with […] The post Meeting C++ 2017 Trip Report...

View Article

Code Reviews – Why? (Part 1)

Are you doing code reviews with your current team? Do you feel they help a lot or are they just a waste of time? In part 1 of this blog […] The post Code Reviews – Why? (Part 1) appeared first on .

View Article

Code Reviews – What? (Part 2)

Now that we know good reasons to do code reviews, which parts of our code need to be reviewed? What does not need review? This post is part of a […] The post Code Reviews – What? (Part 2) appeared...

View Article


Code Reviews – Preparation (Part 3)

The “how” part of this post about code reviews got rather long, so I had to split it into two parts. This part is about preparing our code and our […] The post Code Reviews – Preparation (Part 3)...

View Article

Code Reviews – How? (Part 4)

We finally come to the core post of this series – how to do code reviews. This post is part of a series of posts about code reviews: Code Reviews […] The post Code Reviews – How? (Part 4) appeared...

View Article

Code Reviews – The Human Aspect (Part 5)

Doing code reviews means interacting with other humans, which we need to take into account. We also often have the luxury of being able to choose the reviewer, and the […] The post Code Reviews – The...

View Article


Clean Code Generation

In many projects, there is a certain amount of code generation. The generated code is not seldom treated as a second-class citizen, the only measurement of code quality being whether […] The post Clean...

View Article


Design Patterns in Real Life

Today, Patrick Mintram presents us with a guest post about design patterns in real life applications. Patrick has been in and around engineering for about 9 years, the last 3 […] The post Design...

View Article

Complexity Theory, Relativity and The Theory of Everything

This week’s guest post is by Matthew Butler, who shows us some insights about how the relationship between complexity and performance can be less than obvious in multiple ways. Matthew […] The post...

View Article

Terseness: how little is too much?

Today, Matt Bentley writes for us about terse names in our Code. Matt was born in 1978 and never recovered from the ordeal. He has lived a long and interesting […] The post Terseness: how little is too...

View Article

#include – Don’t get fancy

After having had to clean up some unusual #include techniques, I’ll put together some advice on how not to use #include – and how to use it. Last week I […] The post #include – Don’t get fancy appeared...

View Article


Forward Declarations to Reduce Compiletime Dependencies

As promised last week in my post about strange include techniques, I will go into reducing compile time dependencies. Reducing dependencies by shifting them from headers to source files can […] The...

View Article

Forward-declaring Templates and Enums

In my last post, I wrote about forward declarations for normal classes. Today, I give you some information about forward-declaring templates and enums. Forward-declaring Enums As I wrote in the […] The...

View Article


Code of Conduct – why I Insist

I have had a lot of questions and discussions lately about the necessity for a code of conduct at conferences. I boycott any conference that does not have one or […] The post Code of Conduct – why I...

View Article

The Dark Side of Error Logging

_Today we have another guest post by Phillip Johnston about error logging. Phillip is an embedded systems consultant specializing in bare-metal firmware development in C and C++. Embedded Artistry is...

View Article


Raw Pointers Are Gone!

There’s some great news coming from the C++ standards committee: Raw pointers are gone – or rather will be in C++20. Gone, finally Two weeks ago, the ISO C++ standards […] The post Raw Pointers Are...

View Article

Raw Pointers Are Gonna Stay!

Contrary to Sunday’s orchestrated April Fool’s posts, raw pointers are not going anywhere. However, there are some things in those posts that are based on reality. I’ll go into a […] The post Raw...

View Article

Tailor Standard Containers to Your Needs

We often use standard containers as members of our classes. In a lot of cases, the semantics we actually need is not equivalent to the semantics the containers provide. A […] The post Tailor Standard...

View Article
Browsing all 163 articles
Browse latest View live