• katastrofa (unregistered) in reply to tgape
    tgape:
    One does not want to store the string "0.34832923" when one can just store 4 characters - especially since storing the string could introduce a rounding error.

    No, it wouldn't. You get rounding errors doing conversions from string to float, but not when you convert float->string->float.

  • Richard C (unregistered)

    Isn't this what unions are made for?

  • Joe (unregistered)

    Stargate Featurette

    http://stargate.mgm.com/specialops/link.php?urlid=9&id=5924

    An Official Stargate Special Ops Member

    http://stargate.mgm.com/specialops/link.php?urlid=10&id=5924

    An Official Stargate Special Ops Member

  • Marcin (unregistered) in reply to ParkinT

    I wonder what 3x line project would require that monstority ;)

    But seriously i found out that sometimes exporting some part of code and importing it into new repository is easiest, and fastest way to extract some part of code.

    Downside of that aproach is that you loose all version history in new repository - and you loose knowlage of who to blame for code like this

  • B Champlin (unregistered) in reply to ParkinT

    What's funny is that I wrote that same line of code today, got pissed at myself, and spend the better part of the afternoon fixing the fundamental design problem that caused me to do it in the first place - through an equally hack ass method.

  • B Champlin (unregistered) in reply to brazzy

    Its called legacy code because it works. TFN (touch f$@king nothing)!

  • Adrian Pavone (unregistered) in reply to DeLos
    DeLos:
    JS:
    amischiefr:
    Now, while we all make mistakes and sometimes they are pretty stupid I have to ask one questions: who the hell in their right mind posts their own WTF's?

    Honest people?

    People always lie.

    (Sorry been watching the House DVDs recently)

    Then how did you not get that the correct quote is "Everybody lies"?

  • QA Dude (unregistered) in reply to ParkinT

    Programmer FAIL!

Leave a comment on “Please Think Twice”

Log In or post as a guest

Replying to comment #:

« Return to Article