DEV Community

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

Collapse
 
boly38 profile image
Brice • Edited

I agree that we must keep attention that "one line code" cant suffice. For me a good/pro code portion is a code easy to read/understand/adopt/maintain/extend.
Lenght of the code could be a way de improve the adoption but for ex. a var name or method name or statement complexity of a block.. are impotant too. If a junior is able to quickly adopt and extend your code. Then you're a pro 😎
Thanks for this great article 👌

Collapse
 
benajaero profile image
ben ajaero

Thanks Brice!