Hacker News new | ask | show | jobs
by meatcar 4563 days ago
Or

    if (a && b && c) {
        // Do something.
    }
3 comments

Unless they actually are a VB programmer and And doesn't short circuit.
`AndAlso` short circuits.
Fantastic! If only I could write Excel macros in vb.net
Yes, the that was a very simple example.
iirc, robotics commonly uses something similar called ladder logic.