Gregory K. Ruiz-Ade wrote:
On Nov 13, 2007, at 12:14 AM, Gabriel Sechan wrote:

Not sure I see the value of it, but I understand it.

Support, testing, etc.

When someone tells you your code is broken, you can find out exactly what version of the code they're using, which helps immensely when setting up a test environment to attempt to duplicate the behavior.

Invaluable, really, if you are in an environment that requires that ability. :)
Sure, but the rational way to do that is to provide a function or even better a command that can be invoked to extract that information (typically "-v" or "--version"), which, in turn, means some code which actually touches the string and/or the string being an exported data bit. Either way, super visible so the compiler can't remove it.

--Chris

--
[email protected]
http://www.kernel-panic.org/cgi-bin/mailman/listinfo/kplug-lpsg

Reply via email to