Skip to main content


Found in a file I'm working on at work, presented without comment:
// number of minutes in an hour
const MINUTES_CHECK = 3550; //3600;

#DevLife
@Hypolite Petovan I don't know. I count [em]two[/em] comments. 🙃
@TekNo ⚝ aEvl Nope, the line break was as is in the original file. Why did you ask about it?
@TekNo ⚝ aEvl This constant isn’t currently used by anything, but my assumption that the original value was 3600, but was slightly decreased later for unknown reasons.
@Hypolite Petovan Its strange to have that const, for 1 minute
and it be a bit less, and even stranger if its not used at all, like was it vibe coded or something?
@TekNo ⚝ aEvl No, this is 2014 code, from a contractor who left shortly after I joined. He was really prolific, but also didn't clean up dead code after himself. I spent about 6 months straightening up the code base in order to have any confidence I wouldn't break something by adding anything to it.
⇧