Skip to content

PacktPublishing/Writing-Clean-Code---20-Common-Code-Smells-and-How-to-Avoid-Them

Repository files navigation

Writing Clean Code - 20 Common Code Smells and How to Avoid Them

This is the code repository for Writing Clean Code - 20 Common Code Smells and How to Avoid Them, published by Packt. It contains all the supporting project files necessary to work through the video course from start to finish.

Code smells

Code repository for the 20 code smells discussed in my online course.

Pre-requisites

NodeJS version 14 or higher. NPM version 6 or higher.

Installing NodeJS will already install NPM.

The easiest way to install NodeJS is to simply download the executable from nodejs.org and follow the instructions, but if you are more familiar with programming, I recommend installing NodeJS via NVM.

Setting up the project

  1. After extracting the ZIP file, change into the folder where the code is stored.
  2. Run the command npm ci in the terminal.
  3. You should be all set!

To execute a specific file, run the command npm start -- <folder_name> in the terminal, where <folder_name> is one of the 20 folders containing the code smells.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published