Hey. Thanks for taking the time to read the article and sharing your thoughts.
My issue isn't with the indentation of the else keyword, but more that the happy-path code, and error-handling code are both indented within the if {} else {} statement - it makes them harder to distinguish from a quick scan.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Hey. Thanks for taking the time to read the article and sharing your thoughts.
My issue isn't with the indentation of the
else
keyword, but more that the happy-path code, and error-handling code are both indented within theif {} else {}
statement - it makes them harder to distinguish from a quick scan.