re: A simple tip for cleaner code VIEW POST

TOP OF THREAD FULL DISCUSSION
re: Both listings have early returns, it's just that the elses in the first listing aren't really needed
 

Then my wording was probably wrong, could you help me rephrase it? I could have probably gone with a better example, thanks for noticing. Added another "not so nice" example.

code of conduct - report abuse