6

I cannot get my head around this comment

Does it mean write to console with "caution"? Or is it an obscure tribute to Dragonlance?

Comments
  • 6
    With caution, yeah. In essence, log only when necessary. Otherwise, critical messages become a few needles in haystack
  • 3
    @asgs Prolly right but dear god such comments are everywhere in the codebase and dont' seem to be related to anyhting specific and trust me.... got plenty of needles in the haystack :-)

    Well it seems I won't get bored this week
  • 3
    Comments... Should be used when necessary.

    That's just bogus, irritating information which costs space, is confusing and completely dumb.
  • 2
    The standard solution is to have different verbosity levels, usually configured via command line argument. From level 0 like no output, return code only to level X with full debug output. Default would be printing errors only, or success in absence of errors.
  • 2
    @Fast-Nop Yes, usually a good idea. However, do not add comments for the sake of comments. Especially when comments are misleading, the comment can have serious impact. :/
Add Comment