DEV Community

Discussion on: 5 easy wins for cleaner Javascript code 🧹

Collapse
 
akashkava profile image
Akash Kava

VSCode with TSLint with auto correction does more than given examples ...

Collapse
 
mlevkov profile image
Mikhail Levkovsky

Yes of course an entire linter does more than 5 things but a linter is the how and not the why
I think it’s important to demonstrate and explain why we lint certain things and what those rules do.

Collapse
 
akashkava profile image
Akash Kava

For most part, I am not interested in learning why, I am sure people who made TSLint definitely had better understanding, and when you are working many people on team, explaining why would be extremely time consuming and unimportant job. This is the reason, there is only one captain in the team and if captain says use TSLint, follow and do the right job.

Thread Thread
 
mlevkov profile image
Mikhail Levkovsky

We’ll agree to disagree. Personally I never find it a waste of time to explain (or learn) the why. It helps people become better devs and tune the tools they use to their needs.