Deep nesting - Why and how to avoid #44
Replies: 1 comment 1 reply
-
|
So a premium customer who orders more than 1,000 units doesn't get the 0.9d discount?? Expect some nasty phone calls.... |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Deep nesting - Why and how to avoid
... if you need more than 3 levels of indentation, you're screwed anyway, and should fix your program.
This is written in the Linux style guide. Let's see why they have that rule and how we can overcome deeply nested code.
https://steven-giesel.com/blogPost/61c2f923-c100-449b-b67c-563970a7b214?utm_source=csharpdigest&utm_medium=&utm_campaign=1499
Beta Was this translation helpful? Give feedback.
All reactions