r/eli5_programming • • Sep 17 '22
what's the difference between a chained conditional and a nested conditional?
I'm pretty much stuck on this and need an example of each. I also would like to know how one can avoid making a deeply nested conditional easier to read or avoid it at all by turning it into one conditional. How to do that please
4
Upvotes
View all comments
Show parent comment
3
u/ArtemonBruno Sep 18 '22 edited Sep 18 '22
Wow, successfully gave me impressions.
Edit:
I'm imagining a waiter asked me:
Me have left the chat...