DEV Community


Discussion on: Keeping Your Code Simple

ben profile image
Ben Halpern

This is a really great example of this concept. Example two is so much cleaner, and really passes the squint test.

Small functions are good but cramming too many things on one line is definitely not.