CodeSOD: Weakly Miles Calculation
The Daily WTF
JUNE 4, 2023
But the very next line is an incredible case of bad variable names: weekly_miles = self.mileage_per_day. But the very next line is an incredible case of bad variable names: weekly_miles = self.mileage_per_day. Only one of these can be correct. After that we have a bit of magic number based on whether the purpose was special.
Let's personalize your content