Ad
  • Custom User Avatar

    IMO, in the modern-day practice we tend to minimize the numer of return statements. At the same time, it is considered ok to use multiples given the code readability is improved.

    Additionally, I am struggling to find an example of a moder day compiler or a static analysis tool that will flag multiple returns either as an Error or Warning.