CodeSOD: Maximally Zero Note

CodeSOD: Maximally Zero

The provided code calculates the largest value in a quartet of floats using an inefficient method. It creates an array, initializes it to zero, then overwrites the zeroes with the actual values. The largest value is found by iterating through the array and comparing each element to the current maximum. This unnecessarily complex approach avoids using varargs, making it outdated and difficult to read. Despite its flaws, the code is unlikely to cause serious problems, making it an irritant that may persist until the entire codebase is discarded.