Everything In A Class? – C++ Is Not Java!
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 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?
If you like a heated discussion, just pick a few developers and start a conversation about singletons. Sentiments and opinions about that particular design pattern are all over the place. For […]
Last week’s blog post was a raving success, at least compared to my previous posts. In three days, that single post got about half as much visits as all of my […]
One of C++s strengths is that it is possible to write very performant code. But does that mean we always have to worry about performance and write our everyday code as […]
I have written about small changes and big refactorings in legacy code. But before one starts changing everything in a legacy code base there is one important hurdle to take: The […]