dtho
Joined 8 years ago
Joined 8 years ago
I personally don't experience anything that I would consider "visualization", and I am also terrible at drawing, but I can reproduce a photorealistic drawing of a photograph if I am allowed to look at the photograph while drawing.
> Pure functions have a lot of nice properties. Thread safety. A pure function with value parameters is completely thread safe. With reference or pointer parameters, even if they are const, you do need to be aware of the danger that another thread doing non-pure operations might mutate or free the data, but it is still one of the most powerful tools for writing safe multithreaded code.
Emphasis on 'value parameters'. The invisible 'this' argument is not passed by value, it is passed by reference. By Carmack's definition, C++ member functions are not pure.