re: A simple tip for cleaner code VIEW POST

TOP OF THREAD FULL DISCUSSION
re: Possibly older devs write like this because other languages (mostly outside of web stack AFAIK) can consider that a single exit point is safer, sam...
 
 

It’s almost certainly this. It’s always good to question convention, but when all of the more experienced devs follow a pattern, there’s probably a reason for it. It’s unfortunate that none of the ones you work with were able to explain why, instead of just being annoyed.

code of conduct - report abuse