• grrgyle@slrpnk.net
    link
    fedilink
    arrow-up
    3
    arrow-down
    1
    ·
    6 hours ago

    An infinite loop used to be such a rank code smell back when I was a junior, specifically because I was a noob and made giant loops like 50 lines long and invariably didn’t plan the exit condition right, and then my computer would lock up and I would have to hard power cycle.

    But yeah, now it’s it’s a totally acceptable little pattern imho.