š The worst pieces of code Iāve ever seen. TL;DR:
- Think about your readers.
- Keep code consistent.
- The devil can be in dependencies, trust no one.
- Sometimes, itās better just replace all the module is it is too messy.
- Most of articles on writing a good code just cite or re-tell āClean Codeā or āCode completeā, so just read these books.
As a side note, I hope the author doesnāt read Reddit comments. There is a short summary:
- Author doesnāt have any experience.
- Author is too emotional
- The problem is small and nothing important.
- The story is made up and never could happen.
- All these issues because itās JS.
Ugh, redditā¦