Re: trace file

new topic     » goto parent     » topic index » view thread      » older message » newer message

In std/error.e why is the language usage inconsistent?

An error condition is described by:

  • crash_message
  • crash_file
  • crash_routine
  • crash
  • ex.err

Language switches from "error" to "crash" back to ".err".

While a "warning" condition is uniformly described:

  • warning_message
  • warning_file
  • warning

The process for an "error" would be better described by: error_message, error_file, error_routine, error, ex.err

We could use exception to mean either error or warning in the same way routine is used to describe procedure or function.

The result would be:

  • make it simple, make the same
  • everything fits into a uniform pattern
  • easier to document
  • easier to remember and use

_tom

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu