a-if

  • Blog

Early Return (2nd Post)

Written by

adashif

at

2024-08-21 13:29:30 (GMT+0700)

Writing code in java about null checker and because nested if statements it become more than 5 nested statements and many didn’t do anything since it is hard to make it as good early return but retaining original response.

Well… After afternoon break I just fixed it by using reversed statement and return with same formatting for it. Works well and no nested statements. Happy coding!

Earlier post:

Early Return
Category: Fixes

←Prev
When There is Problem Deploying New Version…
Next→
Open Link in New Tab