Hi there folks!
I've always written in the following manner:
/* Do the stuff */
/* Don't do the stuff.
but have always come across:
/* Do the stuff only if it's safe */
I've never written that way because visually, the super secret stuff is only an "exit;" away from the checks and balances. It's worried me.
It looks much neater, however so I wouldn't mind moving to that. Is it a safe way to handle things? I know this can be a loaded question, but I'm only asking if exiting a script really exits the script or if there's any added security in burying my stuff in an else.
Thanks for your time!