
15 Aug
2010
15 Aug
'10
7:18 a.m.
prad wrote:
part of the feeling i'm getting is that a function should only do one thing and i likely try to squeeze too much into it.
I don't think that's universally true, but you may need to stay simple while learning.
i'm used to using a lot of print statements to figure out errors, but may be the idea here is not to make errors because you're functions are written correctly and are precise.
Look at the Debug.Trace module. You can emit debugging messages in a non-safe but usually helpful manner. Be aware that the messages may come in an unexpected order due to laziness. Mike