Nested if, for, while, when, and try statements are key ingredients for making what's known as "Spaghetti code".
if
for
while
when
try
Such code is hard to read, refactor and therefore maintain.