The State of C++ – Is it Back or Not?
A few years ago when C++11 was published, people saw that C++ might be becoming a different language and a wave of enthusiasm got hold of the C++ community. “C++ is back!” […]
A few years ago when C++11 was published, people saw that C++ might be becoming a different language and a wave of enthusiasm got hold of the C++ community. “C++ is back!” […]
Sometimes I see functions that are meant to return a range of values, but instead of returning a container, they take one as out-parameter. There are several reasons why that […]
Last week I wrote about what makes C++ a good choice as a host language for embedded DSLs. This week’s post will be about external DSLs with C++ as host […]
Domain-specific languages (DSLs) can be powerful tools to simplify certain aspects of programming. While DSLs can be used in most or all programming languages, I think there are a few […]
In Java there are no free functions, which simplifies lookup rules and code organization. Many C++ style guides have adopted the “only classes” style, prohibiting free functions. But C++ is […]
In my last post I have written about the main and secondary uses of unit tests and how they compare to other kinds of automated tests. This time I will explore what […]
Many developers talk about unit tests, but it is not always clear what they mean. Sometimes there seems to be no distinction to other kinds of tests, and often there are discussions […]
I don’t like comments, because having to comment a piece of code means the code itself does not express everything there is to know.
A few days ago I came across a tweet in my twitter timeline that made me think and spawned a little discussion: @diegorlosada Programming is one of the few fields […]
We use frameworks all the time. Some are part of third party libraries, others are self made. What options do we have if requirements change, especially for the custom frameworks?