18
davuth
5y

Me: 16? What is this magic number? Why don't you create a constant for it?

Colleague: We do like that first for now. We'll definitely come back to improve it later when we have time.

Comments
  • 2
    constant creation takes ~1-3 seconds... spreading of strings and replacing later across the code base takes ~1-3h and ~1-2 years of your lifespan if you got no tests..

    But so often I see the exact behavior you described
  • 2
    Too bad it is so common!
  • 0
    Narrator: "The time never came."
  • 0
    Famous last words.
Add Comment