In computer programming, overkill is referred to writing excessively
more code than needed for a certain task. It can also mean writing up an endless function
for which an already built-in
one is available, and that the written one can even be less stable.
Foo wrote a 97 line function to calculate days between two dates when all he could have done (using php
) is convert the Gregorian Dates to Julian Dates using built-in function GregorianToJD() and execute a simple subtraction, now that's overkill. This would reduce the code to 2-3 lines.