2 ms·
Reflections, especially static ones, are horrible for debugging.
by feverzsj 3mo ago
Reflections, especially static ones, are horrible for debugging.
- RyanJK5 3mo agoThis library tries its best to mitigate that, catching common errors and whatnot, but it can definitely still happen. C++ doesn't have full token injection yet, so it avoids some of the more common pitfalls, if incidentally. As an aside, you may want to check out Jai's approach. I believe everything you generate statically gets turned into a file by the compiler for debugging purposes, which it provides references to in the output.
- pjmlp 3mo agoDepends pretty much on the language and IDE tooling being used. Those against IDEs, well they already voted against good tooling in first place.
- limaoscarjuliet 3mo agoI get a heart attack whenever I have to view core file from a decently complicated C++ program. The amount of template-in-a-template-in-a-template...(and this continues for some time) is not so readable to me. Maybe it is just me.
- nly 3mo agoIDEs like CLion now have compile time visual debuggers.