---
title: "Comment by Manuel Micu on \"20 Useful JavaScript Tips &Tricks For Writing Short and Clean Code\" | Hashnode"
description: "Thanks for sharing, some of them are useful in a few situations. However I would not advise people to use some of this tricks, especially the hacky conversion o"
url: "https://hashnode.com/posts/20-useful-javascript-tips-andtricks-for-writing-short-and-clean-code/61403331f0695026068b7f1e/comment/614387332d0e2479882a2d35"
---

[Discussion](https://hashnode.com/posts/20-useful-javascript-tips-andtricks-for-writing-short-and-clean-code/61403331f0695026068b7f1e)

Comment [20 Useful JavaScript Tips &Tricks For Writing Short and Clean Code](https://hashnode.com/posts/20-useful-javascript-tips-andtricks-for-writing-short-and-clean-code/61403331f0695026068b7f1e)

[Manuel Micu](https://hashnode.com/@manu4216)

[Sep 16, 2021](https://hashnode.com/posts/20-useful-javascript-tips-andtricks-for-writing-short-and-clean-code/61403331f0695026068b7f1e/comment/614387332d0e2479882a2d35)

Thanks for sharing, some of them are useful in a few situations.

However I would not advise people to use some of this tricks, especially the hacky conversion ones.

Those would make the code "short", but definitely not "clean".

For clean code, write code using well-known features of the language.

Also I'd rather read a code a few lines longer, than an incomprehensible, or over-smart 1-liner.

Again, thanks for sharing, just giving a different perspective.

[Ayesha Sahar](https://hashnode.com/@IAyeshaSahar)

[Sep 16, 2021](https://hashnode.com/posts/20-useful-javascript-tips-andtricks-for-writing-short-and-clean-code/61403331f0695026068b7f1e/comment/614387332d0e2479882a2d35#reply-61438b042d0e2479882a2d7e)

Thanks for your feedback🥰
