• dhork@lemmy.world
    link
    fedilink
    English
    arrow-up
    54
    ·
    6 hours ago

    Just because you’re writing in a shiny new language that never misses an opportunity to crow about how memory safe it is, doesn’t mean that you can skip due diligence on input validation, checking every return value and writing exception handlers for even the most unlikely of situations.

    Lol

  • TurboWafflz@lemmy.world
    link
    fedilink
    English
    arrow-up
    27
    ·
    5 hours ago

    It’s crazy that cloudflare of all people even had unwrap enabled. Whenever I use unwrap in some tiny little not important thing I always treat it as a temporary thing that I need to come back and fix before the software is actually ready for anyone to seriously use

  • anon5621@lemmy.ml
    link
    fedilink
    English
    arrow-up
    2
    ·
    3 hours ago

    It not exactly unwrap fault even if it would wrote in other way it still not work cause of wrong SQL request which spamming with results longer than expected to rust here was protecting from memory leak actually