DEV Community

Discussion on: Refactoring JavaScript for Performance and Readability (with Examples!)

Collapse
 
karataev profile image
Eugene Karataev

I prefer the refactored code, because from the variables names it's clear what we're working with.

I guess we need a tool jsRead to measure a code's readability with objective metrics like it's done in jsPerf with performance 😂