drieuxster (drieuxster) wrote,
drieuxster
drieuxster

Crabby Code Moments.....

Things I hate about perl - it is not a strongly typed language, and it does not do argument checking... so I was talking to a co-worker about a trick, and method_A gets the data by one route, BUT it does not take any arguments, while method_B gets the data by another route, AND takes arguments for filtering.....

AHHHHHH !!!! Never pass args to method_A because it quietly ignores that.... and screws up the DEMO!!!!

ALL of which is made worse BECAUSE the documentation is clear that method_A does not take any arguments, while method_B CAN take an optional argument!!!!!

I SAY THIS IS CLEAR AND COMPELLING PROOF THAT WE MUST BOMB CANADA!!!
Subscribe

  • Post a new comment

    Error

    default userpic

    Your IP address will be recorded 

    When you submit the form an invisible reCAPTCHA check will be performed.
    You must follow the Privacy Policy and Google Terms of use.
  • 3 comments