Thomas (boggyb) wrote,

  • Mood:

A collection of mini-rants today, from a couple of hours spent hacking together a bit of PHP:

  1. Which numpty decided that the default behaviour of a switch statement should be to fall through. It's almost never what you want!
  2. In the same theme, which numpty decided to make assignment and equality use different operators, to make assignment single-equals, and to not have any kind of warning if you use single-equals in an if statement.
  3. Why does PHP not have a usable variable type for dates? Even classic VB has one!
Tags: rant

  • NaBloPoMo!

    It's November, which means it's time for anther month of semi-coherent ramblings! Ironically, despite the current Covid insanity today was much like…

  • NaBloPoMo!

    Yes, it's that time of year where I try to create an entire month's worth of random ramblings! Today ended with a surprise games evening, courtesy…

  • NaBloPoMo result

    Well, another year, another November of trying to think of some random insanity to post every day. This year was less successful that past ones, in…

  • Post a new comment


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