Re: trace file
- Posted by ghaberek (admin) Sep 25, 2013
- 1411 views
useless_ said...
But it is a procedure, procedures do something. To me, calling crash_file() says to go write a crash_file right now. But i don't want a crash_file right now, even if i want a file containing that same data for debugging at this point, i don't want a crash.
I kept trying to set (variable) crash_file = location.
useless
crash_message() and crash_routine() are the same way. It does seem a bit ambiguous. These should probably be called set_crash_file(), set_crash_message(), and set_crash_routine() so that they include verbs. And if we're picking everything apart, warning_file() should be set_warning_file(), and warning() should be warn() or issue_warning().
-Greg