DEV Community

Discussion on: Mastering Javascript One-Liners to Look Like a Pro

Collapse
 
kodipe profile image
Konrad Przydział • Edited

From my perspective one-liners are ok as long as they are readable. Nowadays there are a lot of bundlers, compilers etc. which are able to make it more compact so we don't write code for making computer happy. We do it for other developers who need to spend time to understand it.

One good advice: Be pro instead of look like a pro.