The motivation for writing this comes from this interview with Bjarne Stroustrup which, even though unfortunately being fake, makes a good point and I found quite entertaining to read.
Consider this example code in C++ (You can assume vec3
is a class):
int main(int argc, char **argv)