Do you know any company developing automated debugging software or environments?
Too often, we (programmers) spend too much time correcting very basic mistakes. An example is forgetting a semicolon at the end of a line (Perl), or having one extra comma in a SQL select statement as in
In this example, the extra comma appeared by accident when the zipcode field was commented out. Now the SQL code (previously correct) is buggy.
It would be very easy to write a program that automatically correct these basic errors, these errors waste as much as 10% of the time to any experienced programmers, and much more for novice coders.
For instance, applied to Perl, one feature (among hundreds of features) of the automated debugger would be:
- Check first occurrences of lines that do not end with a a semicolon
- When such a line of code is found, check the code until the next semicolon is found
- If the code in question can not be successfully compiled, then try adding a semicolon to the first line that did not have one
- After adding the semicolon in question, if the code can now be compiled, the error was just a missing semicolon, and the error has been automatically fixed (this will solve 99% of the missing semicolons)
I'm wondering if such automated debuggers exist. If not, I believe VC's should invest in this technology. It could save billions of dollars to the corporate world.