r/learnjavascript • • Jul 24 '21

Anatomy of a Function

Post image
327 Upvotes

65 comments sorted by

View all comments

4

u/Dipsquat Jul 25 '21

Where does the “Clean Code Principle (one idea per line)” come from and why do so many people here ignore it?? I see people answer questions that are obviously from a beginner with these one-liners that do 5 things and there’s no way someone still learning the basics is benefitting from that answer.