• Darwin (unregistered)

    I can't believe you nutters are all argument over operator semantics and language flamewar garbage.

    Nobody actually makes the = vs. == mistake more than once or twice in practice -- I think I made it once, and the compiler caught it for me; that was many years ago.

    But if it bothers you that much, the solution is simple. Just program in a strict functional language where assignments are simply not allowed. You're welcome.

  • Darwin (unregistered) in reply to Darwin
    I can't believe you nutters are all argument

    "arguing", not "argument", sorry

  • Xriot (unregistered)

    Um, am i missing something or did everyone in this thread completely overlook the last paragraph?

    "While Hannes wasn't able to provide any insight into the purpose of that IF statement, he did notice out that iStart is always twenty and iOffset is always a multiple of twenty. But it wasn't until his coworker replied "oooh, well that makes sense, then" that he realized how much he had truly lucked out."

    The fact that iStart is always twenty and iOffset is always a multiple of twenty means that the comparison really is worthless because no non-integer would ever be returned ;)

  • RAFI (unregistered) in reply to Thuenor

Leave a comment on “Multiplied Denomination”

Log In or post as a guest

Replying to comment #:

« Return to Article