3 ms·
One benefit that I can think of for inlined code is the ability to "step" through each time step/tick/whatever and debug the state at each step of the way. And
by jjallen 2y ago
One benefit that I can think of for inlined code is the ability to "step" through each time step/tick/whatever and debug the state at each step of the way.
And one drawback I can think of is that when there are more than something like ten variables finding a particular variable's value in an IDE debugger gets pretty difficult. It would be at this point that I would use "watches", at least in the case of Jetbrains's IDEs.
But then yeah you can also just log each step in a custom way verifying the key values are correct which is what I am doing as we speak.