News for hackers. Stuff that matters.
Re:Maybe comments should explain 'what' (2017) by tyre on Sunday January 04, 2026 @07:33AM (#46487343)
Does the caller of the method need to know the three days? Why? What if you update to FED Now and it changes?

It seems like the caller only needs to know that it’s checking within the window, which is then likely a constant (like SETTLEMENT_WINDOW_DAYS) that gives the context.

If you need to, you can add a comment to the constant linking to whatever documentation defines why three days.

There are no comments on this comment yet.