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.