DEV Community

Discussion on: The Most POWERFUL [JavaScript] Function

Collapse
 
insidewhy profile image
insidewhy

Verbose code is not only boring to write, it can hamper understanding. I think most teams will opt to balance verbosity and ease of understanding. I haven't worked with developers who would favour loops over a functional approach in many years. Although it is necessary when you're writing a framework due to v8's poor optimisation of closures, in other cases performance doesn't matter so much.