CS 462 Blog Post #1

The article on clean code that I chose to read is called Clean Code Explained – A Practical Introduction to Clean Coding for Beginners on freecodecamp.org and the other one about code smells is named Code Smell – A General Introduction and it’s Type from geeksforgeeks.org

A practice that I want to pick up from Clean Code Explained is to avoid noise words. I use words like “Data” and “Info” in my variable names that cause confusion and just make the whole process of writing code slower. One thing I stop doing is stop putting too many arguments in function parameters. It sometimes do this and it makes the code more confusing and harder to follow.

A practice that I want to pick up from Code Smell is focus more on what code smells like within my code and how to avoid them. I am not familiar with some of these so this was good review. I want to also stop leaving lengthy comments and lengthy variable names because I sometimes do this.

Sources:

https://www.freecodecamp.org/news/clean-coding-for-beginners/

https://www.geeksforgeeks.org/code-smell-a-general-introduction-and-its-type/