If-else statements can be problematic if not used correctly. They can be difficult to read and can lead to code that is difficult to maintain. When used incorrectly, if- else statements can also lead to errors. The code above won’t work as you expect after debugging hundred times.
9 Comments
Sort: