23
It's like an 'If' inside another 'If'. Think: If you are at the market, If they have fresh tomatoes, buy them. If you aren't at the market, the second question doesn't even matter.
We use this for complex decisions. But be careful! Too many layers can make your code very hard to read—like a Lagos street with too many turn-offs.
Log in to add a comment.