Arrow Code

Today i have decided to share with you another well known problem – “the arrow code”.

Many of unexperienced software developers write code in following way:

if
  if
    if
      if
        do something
      endif
    endif
  endif
endif

In first moment it probably does not look as error but when we would add more logic to this, this code would be very hard to maintain.

That is why you should read this article: click