DEV Community

loading...

Discussion on: 10 Tips to Write Clean Code

Collapse
awedis profile image
awedis Author

yep, the idea is to see the difference, which one is cleaner and easy to read it :)

Collapse
siddharthshyniben profile image
Siddharth

I mean that you should have directly returned.

Thread Thread
awedis profile image
awedis Author

yes that can be done, I wanted to showcase more indentation

Forem Open with the Forem app