Skip to main content
edited body
Source Link
gnasher729
  • 49.5k
  • 4
  • 71
  • 137

I’ve seen code doing a few operations that could all potentially fail, with a 20 times nested if. Inserting another error condition after test #11 was practically impossible.

At some point a code structure that handles one condition after the other in sa linear fashion is just better.

I’ve seen code doing a few operations that could all potentially fail, with a 20 times nested if. Inserting another error condition after test #11 was practically impossible.

At some point a code structure that handles one condition after the other in s linear fashion is just better.

I’ve seen code doing a few operations that could all potentially fail, with a 20 times nested if. Inserting another error condition after test #11 was practically impossible.

At some point a code structure that handles one condition after the other in a linear fashion is just better.

Source Link
gnasher729
  • 49.5k
  • 4
  • 71
  • 137

I’ve seen code doing a few operations that could all potentially fail, with a 20 times nested if. Inserting another error condition after test #11 was practically impossible.

At some point a code structure that handles one condition after the other in s linear fashion is just better.