4 ms·
Every article like this presents itself as if one programmer’s bugaboo is a problem for all programmers. Notice that the author didn’t explain how the nested I
by satisfice 2y ago
Every article like this presents itself as if one programmer’s bugaboo is a problem for all programmers.
Notice that the author didn’t explain how the nested IF ELSE form worked. That’s because we all know how it works. It’s dirt easy. There is a lot to be said for programming in a way that is familiar and plain.
Yes, there are clever alternatives, but most of them require more time to stare at them and work out what is happening.