News for hackers. Stuff that matters.
Re:Please put units in names by irjustin on Monday March 21, 2022 @01:17AM (#30750571)
Not sure why that's annoying? The right side doesn't really make sense.

Though it does seem pretty easy for a novice to do thinking it's the same, but what does 1.month.to_i even mean!?

Re:Please put units in names by lloeki on Monday March 21, 2022 @06:32AM (#30752386)
> 1.month.to_i

Duration of a month in seconds? Before you balk at the idea, there exists a definition of a constant month duration for accounting stuff. I you hate dates - and yourself - try accounting, there's mind boggling stuff that makes the engineer mind recoil in absolute terror.

Re:Please put units in names by inopinatus on Monday March 21, 2022 @01:50AM (#30750727)
Actually taken almost verbatim from the report summarizing a real and subtle bug (distributed across multiple files) in code written by definitely-not-novices.