Wednesday 27 April 2005

Larry Hastings uses Cog, but worries about missing new files that need to be Cog'ged. To solve the problem, he wrote Nocog. As he describes it, "Nocog scans over its input files, and if any of them contain Cog code, it prints an error and returns -1. If none of them contain any Cog code, it prints nothing and returns 0."

This isn't a problem I've encountered, but I understand the impulse: the more that code can detect its own problems, the fewer problems will persist. This applies even to builds.

tagged: » react


Add a comment:

Ignore this:
not displayed and no spam.
Leave this empty:
not searched.
Name and either email or www are required.
Don't put anything here:
Leave this empty:
URLs auto-link and some tags are allowed: <a><b><i><p><br><pre>.