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.
We're a place where coders share, stay up-to-date and grow their careers.
We strive for transparency and don't collect excess data.